Part Number Hot Search : 
B1569A MRF500 AOTF7N70 C48H1 70201R32 SFR1011 M6872 07M002
Product Description
Full Text Search
 

To Download HD66717 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HD66717
(Low-Power Dot-Matrix Liquid Crystal Display Controller/Driver)
Description
The HD66717 dot-matrix liquid crystal display controller and driver LSI displays alphanumerics, katakana, hiragana, and symbols. It can be configured to drive a dot-matrix liquid crystal display under the control of an I2C bus, a clock-synchronized serial, or a 4- or 8-bit microprocessor. A single HD66717 is capable of displaying a maximum of four 12-character lines, 40 segments, and 10 annunciators. The HD66717 incorporates all the functions required for driving a dot-matrix liquid crystal display such as display RAM, character generator, and liquid crystal drivers, and a booster for LCD power supply. The HD66717 provides various functions to reduce the power consumption of an LCD system such as low-voltage operation of 2.4V or less, a booster for generating a maximum of triple LCD drive voltage from the supplied voltage, and voltage-followers for decreasing the direct current flow in the LCD drive bleeder-resistors. Combining these hardware functions with software functions such as standby and sleep modes allows a fine power control. The HD66717, with the above functions, is suitable for any portable battery-driven product requiring long-term driving capabilities and small size.
Features
* 5 x 8-dot matrix LCD drive * Four 12-character lines, 40 segments, and 10 annunciators * Low-power operation support: 2.4 to 5.5V (low voltage) Double or triple booster for liquid crystal drive voltage Electron volume function and voltage-followers for decreasing the direct current flow in the LCD drive bleeder-resistors Standby mode and sleep mode Displays up to 10 static annunciators 2 * I C bus or clock-synchronized serial interface; 4- or 8-bit parallel bus interface * 60 x 8-bit display data RAM (60 characters max) * 9,600-bit character generator ROM 240 characters (5 x 8 dots)
452
HD66717
* 32 x 5-bit character generator RAM 4 characters (5 x 8 dots) * 8 x 5-bit segment RAM 40 segment-icons and marks max * 60-segment x 34-common liquid crystal display driver * Programmable display sizes and duty ratios (see List1) * Vertical smooth scroll * Double-height display * Wide range of instruction functions: Display clear, display on/off, icon and mark control, character blink, white-black inverting blinking cursor, icon and mark blink, cursor home, cursor on/off, white-black inverting raster-row * Hardware reset * Internal oscillation with an external resistor * Wide range of LCD drive voltages 3.0V to 13.0V * Slim chip with/without bump (for COB) and tape carrier package (TCP) List 1 Programmable Display Sizes and Duty Ratios
Oscillation Frequency 40 kHz 80 kHz 120 kHz Current Consumption 8 A 15 A 23 A Multi-plexed-Drive Segments 40 40 40 Static-Drive Annunciators 10 10 10 10
Display Size 1 line x 12 characters 2 lines x 12 characters 3 lines x 12 characters
Duty Ratio 1/10 1/18 1/26
4 lines x 12 1/34 160 kHz 30 A 40 characters Note: Current consumption excludes that for LCD power supply source; VCC = 3V.
List 2 Ordering Information
Type Name HD66717A03TA0 HCD66717A03 HCD66717A03BP HCD66717A13BP External Dimensin TCP Bare chip Au-bumped chip Au-bumped chip Up-side-down pattern of A03 Operation Voltage 2.4V to 5.5V Internal Font Japanese and European fonts
453
HD66717
LCD-II Family Comparison
Item Power supply voltage LCD-II (HD44780U) 2.7V to 5.5V HD66702R 5V 10% (standard) 2.7V to 5.5V (low voltage) 3.0V to 8.3V 20 characters x 2 lines HD66710 2.7V to 5.5V HD66712U 2.7V to 5.5V
Liquid crystal drive voltage 3.0 to 11.0V Maximum display 8 characters x 2 lines characters per chip
Segment display Display duty ratio CGROM
CGRAM DDRAM SEGRAM Segment signals Common signals Liquid crystal drive waveform Clock source Rf oscillation frequency Liquid crystal voltage booster circuit Liquid crystal drive operational amplifier Bleeder-resistor for liquid crystal drive Liquid crystal contrast adjuster Key scan circuit Extension driver control signal Reset function Horizontal smooth scroll Vertical smooth scroll Number of displayed lines Low power control Bus interface Package
None 1/8, 1/11, and 1/16 9,920 bits (208 5-x-8 dot characters and 32 5-x-10 dot characters) 64 bytes 80 bytes None 40 16 A External resistor or external clock 270 kHz 30% None None External None None Independent control signal Internal reset circuit Impossible Impossible 1 or 2 None 4 or 8 bits 80-pin QFP1420 80-pin TQFP1414 80-pin bare chip
None 1/8, 1/11, and 1/16 7,200 bits (160 5-x-7 dot characters and 32 5-x-10 dot characters) 64 bytes 80 bytes None 100 16 B External resistor or external clock 320 kHz 30% None None External None None Independent control signal Internal reset circuit Impossible Impossible 1 or 2 None 4 or 8 bits 144-pin FQFP2020 144-pin bare chip
3.0 to 13.0V 16 characters x 2 lines/ 8 characters x 4 lines 40 1/17 and 1/33 9,600 bits (240 5-x-8 dot characters)
2.7 to 11.0V 24 characters x 2 lines/ 12 characters x 4 lines 60 (extended to 80) 1/17 and 1/33 9,600 bits (240 5-x-8 dot characters)
64 bytes 80 bytes 8 bytes 40 33 B External resistor or external clock 270 kHz 30% Double or triple booster circuit None External None None Used in common with a driver output pin Internal reset circuit Dot unit Impossible 1, 2, or 4 Low power mode 4 or 8 bits 100-pin QFP1420 100-pin TQFP1414 100-pin bare chip
64 bytes 80 bytes 16 bytes 60 34 B External resistor or external clock 270 kHz 30% Double or triple booster circuit None External None None Independent control signal Internal reset circuit or reset input Dot unit and line unit Impossible 1, 2, or 4 Low power mode Serial, 4, or 8 bits 128-pin TCP 128-pin bare chip
454
HD66717
LCD-II Family Comparison (cont)
Item Power supply voltage Liquid crystal drive voltage Maximum display characters per chip HD66720 2.7V to 5.5V 3.0 to 11.0V 10 characters x 1 line/ 8 characters x 2 lines 42 (extended to 80) 1/9 and 1/17 9,600 bits (240 5-x-8 dot characters) 64 bytes 40 bytes 16 bytes 42 17 B External resistor or external clock 160 kHz 30% HD66717 2.4V to 5.5V 3.0 to 13.0V 12 characters x 1 line/2 lines/3 lines/4 lines HD66727 2.4V to 5.5V 3.0 to 13.0V 12 characters x 1 line/2 lines/3 lines/4 lines
Segment display Display duty ratio CGROM
CGRAM DDRAM SEGRAM Segment signals Common signals Liquid crystal drive waveform Clock source Rf oscillation frequency
40 (and 10 annunciators) 1/10, 1/18, 1/26, and 1/34 9,600 bits (240 5-x-8 dot characters) 32 bytes 60 bytes 8 bytes 60 34 B External resistor or external clock 1-line mode: 40 kHz 30% 2-line mode: 80 kHz 30% 3-line mode: 120 kHz 30% 4-line mode: 160 kHz 30% Double or triple booster circuit Built-in for each V1 to V5 Internal 1/4 and 1/6 bias resistors Incorporated
40 (and 12 annunciators) 1/10, 1/18, 1/26, and 1/34 11,520 bits (240 6-x-8 dot characters) 32 bytes 60 bytes 8 bytes 60 34 B External resistor or external clock 1-line mode: 40 kHz 30% 2-line mode: 80 kHz 30% 3-line mode: 120 kHz 30% 4-line mode: 160 kHz 30% Double or triple booster circuit Built-in for each V1 to V5 Internal 1/4 and 1/6 bias resistors Incorporated 4 x 8 = 32 keys None Reset input Impossible Dot (raster-row) unit 1, 2, 3, or 4 Standby mode and sleep mode 2 I C or clock-synchronized serial Slim chip with/without bumps TCP
Liquid crystal voltage booster circuit Liquid crystal drive operational amplifier Bleeder-resistor for liquid crystal drive Liquid crystal contrast adjuster Key scan circuit Extension driver control signal Reset function
Double or triple booster circuit None External None
5 x 6 = 30 keys None Independent None control signal Internal reset Reset input circuit or reset input Horizontal smooth scroll Dot unit and Impossible line unit Vertical smooth scroll Impossible Dot (raster-row) unit Number of displayed lines 1 or 2 1, 2, 3, or 4 Low power control Low power mode and sleep Standby mode and mode sleep mode 2 Bus interface Serial I C, serial, 4, or 8 bits Package 100-pin QFP1420 Slim chip with/without bumps 100-pin TQFP1414 TCP 100-pin bare chip
455
HD66717
HD66717 Block Diagram
OSC1 OSC2 SFT EXM AGND
CPG
RESET* TEST Instruction register (IR) Instruction decoder
Timing generator
ASEG1- ASEG10 Annunciator driver
7
ACOM COM1- COM32
8 IM1/0 Address counter 7 RS/CS* E/SCL RW/SDA
System interface * I 2C bus * Clocksynchronized serial * 4 bits * 8 bits
Display data RAM (DDRAM) 60 x 8 bits
34-bit Common signal shift driver register COMS1/2
7
8 SEG1- Segment SEG60 signal driver
DB7-DB6 Input/ output buffer
8
Data register (DR) 5 Busy flag 3 7 5
8
60-bit shift register
60-bit latch circuit
DB5/ID5 -DB0/ID0
8
Segment RAM (SEGRAM) 8 bytes Vci C1 C2 V5OUT2 V5OUT3 Booster
Character generator RAM (CGRAM ) 32 bytes
Character generator ROM (CGROM) 9,600 bits
Cursor and blink controller
LCD drive voltage selector
5 5
Parallel/serial converter
VCC GND +- R R +- 2R +- R +- R +- VR
OPOFF
V1OUT
V2
V2OUT
V3
V3OUT
V4OUT
V5OUT
VEE
456
HD66717
HD66717 Pin Arrangement
COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COMS1 Dummy Dummy Dummy Dummy VCC VCC V1OUT V2OUT V3OUT V4OUT V5OUT VREFP VREF VREFM V2 V3 VEE VEE V5OUT3 V5OUT3 V5OUT2 V5OUT2 C1 C1 C2 C2 Vci Vci GND GND Dummy VCC VCC VCC OSC2 OSC1 EXM SFT IM1 IM0 OPOFF TEST RESET* RS/CS* E/SCL RW/SDA DB0/ID0 DB1/ID1 DB2/ID2 DB3/ID3 DB4/ID4 DB5/ID5 DB6 DB7 GND GND GND GND GND GND VCC VCC AGND AGND Dummy COMS2 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16
HD66717
(Top View)
Y
X
Dummy Dummy Dummy Dummy Dummy SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 ASEG10 ASEG9 ASEG8 ASEG7 ASEG6 ASEG5 ASEG4 ASEG3 ASEG2 ASEG1 ACOM1 Dummy Dummy Dummy Dummy Dummy
457
458
HD66717 Pad Coordinate Die Specification Chip size : 10.88 x 2.89mm2 Coordinate : Pad center Origin : Chip center Bump size : 70 x 70 m2 Pad size : 90 x 90 m2 Target Information Target shape : Cross ("+") Target center coordinate : X = -5110, Y = -1206 X = +5115, Y = -1206 X = -5110, Y = +1206 X = +5115, Y = 1206 Target AL length : 26 m Target AL width : 8 m
No. -- -- -- -- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 -- 27 28 29 30 31 32 33 34 35 36 37 38 39 40 X -5191 -4891 -4767 -4643 -4439 -4315 -4034 -3913 -3793 -3672 -3552 -3432 -3311 -3191 -3045 -2924 -2803 -2683 -2526 -2406 -2225 -2105 -1955 -1834 -1683 -1562 -1411 -1290 -1139 -1018 -898 -777 -656 -536 -391 -183 21 225 429 633 837 1041 1245 1449 1653 Y -1260 -1260 -1260 -1260 -1244 -1244 -1169 -1169 -1169 -1169 -1169 -1169 -1169 -1169 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1168 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 Pad Name Dummy Dummy Dummy Dummy VCC VCC V1OUT V2OUT V3OUT V4OUT V5OUT VREFP VREF VREM V2 V3 VEE VEE V5OUT3 V5OUT3 V5OUT2 V5OUT2 C1 C1 C2 C2 Vci Vci GND GND Dummy VCC VCC VCC OSC2 OSC1 EXM SFT IM1 IM0 OPOFF TEST RESET* RS/CS* E/SCL No. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 -- 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 -- -- -- -- -- 77 78 79 Pad Name RW/SDA DB0/ID0 DB1/ID1 DB2/ID2 DB3/ID3 DB4/ID4 DB5/ID5 DB6 DB7 GND GND GND GND GND GND VCC VCC AGND AGND Dummy COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COMS2 Dummy Dummy Dummy Dummy Dummy ACOM ASEG1 ASEG2 X 1861 2073 2290 2507 2723 2940 3157 3374 3590 3809 3930 4079 4200 4349 4474 4627 4752 4905 5029 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 5191 4939 4815 4690 4566 4442 4317 4193 Y -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1192 -1201 -1201 -1201 -1201 -1201 -1201 -1201 -1201 -1201 -1201 -1201 -1020 -896 -772 -647 -523 -398 -274 -149 -25 100 224 348 473 597 722 846 971 1191 1191 1191 1191 1191 1191 1191 1191 No. Pad Name 80 ASEG3 81 ASEG4 82 ASEG5 83 ASEG6 84 ASEG7 85 ASEG8 86 ASEG9 87 ASEG10 SEG1 88 SEG2 89 SEG3 90 SEG4 91 SEG5 92 SEG6 93 SEG7 94 SEG8 95 SEG9 96 97 SEG10 98 SEG11 99 SEG12 100 SEG13 101 SEG14 102 SEG15 103 SEG16 104 SEG17 105 SEG18 106 SEG19 107 SEG20 108 SEG21 109 SEG22 110 SEG23 111 SEG24 112 SEG25 113 SEG26 114 SEG27 115 SEG28 116 SEG29 117 SEG30 118 SEG31 119 SEG32 120 SEG33 121 SEG34 122 SEG35 123 SEG36 124 SEG37 X 4068 3944 3819 3695 3571 3446 3322 3197 2948 2824 2699 2575 2451 2326 2202 2077 1953 1828 1704 1579 1455 1331 1206 1082 957 833 708 584 460 335 211 86 -38 -163 -287 -412 -536 -660 -785 -909 -1034 -1158 -1283 -1407 -1532 Y 1191 1191 1191 1191 1191 1191 1191 1191 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 1196 No. Pad Name 125 SEG38 126 SEG39 127 SEG40 128 SEG41 129 SEG42 130 SEG43 131 SEG44 132 SEG45 133 SEG46 134 SEG47 135 SEG48 136 SEG49 137 SEG50 138 SEG51 139 SEG52 140 SEG53 141 SEG54 142 SEG55 143 SEG56 144 SEG57 145 SEG58 146 SEG59 147 SEG60 -- Dummy -- Dummy -- Dummy -- Dummy -- Dummy 148 COM17 149 COM18 150 COM19 151 COM20 152 COM21 153 COM22 154 COM23 155 COM24 156 COM25 157 COM26 158 COM27 159 COM28 160 COM29 161 COM30 162 COM31 163 COM32 164 COMS1 X Y -1656 1196 -1780 1196 -1905 1196 -2029 1196 -2154 1196 -2278 1196 -2403 1196 -2527 1196 -2651 1196 -2776 1196 -2900 1196 -3025 1196 -3149 1196 -3274 1196 -3398 1196 -3523 1196 -3647 1196 -3771 1196 -3896 1196 -4020 1196 -4145 1196 -4269 1196 -4394 1196 -4518 1196 -4643 1196 -4767 1196 -4891 1196 -5191 1196 -5191 970 -5191 845 -5191 721 -5191 596 -5191 472 -5191 348 -5191 223 -5191 99 -5191 -26 -5191 -150 -5191 -275 -5191 -399 -5191 -524 -5191 -648 -5191 -772 -5191 -897 -5191 -1021
HD66717
HD66717
TCP Dimensions
I/O, Power supply
0.50P x (44-1) = 21.50mm
NC VCC V1OUT V2OUT V3OUT V4OUT V5OUT VREFP VREF VREFM V2 V3 VEE V5OUT3 V5OUT2 C1 C2 Vci GND VCC OSC2 OSC1 EXM SFT IM1 IM0 OPOFF TEST RESET* RS/CS* E/SCL RW/SDA DB0/ID0 DB1/ID1 DB2/ID2 DB3/ID3 DB4/ID4 DB5/ID5 DB6 DB7 GND VCC AGND NC
Dummy Dummy COMS1 COM32
0.50mm pitch
HD66717 HITACHI
COM17 SEG60
0.22 mm pitch
LCD Driver Outputs
0.22P x (109-1) = 23.76 mm
SEG1 ASEG10
ASEG1 ACOMS COMS2 COM1
COM16 Dummy Dummy
459
HD66717
Pin Functions
Table 1
Signal IM1, IM0
Pin Functional Description
Number of Pins I/O 2 I Device Interfaced with Function VCC or GND Selects interface mode with the MPU: 2 IM1, IM0 = GND, GND: I C bus mode (receive) IM1, IM0 = GND, VCC: Clock-synchronized serial mode (receive) IM1, IM0 = VCC, GND: 8-bit bus mode IM1, IM0 = VCC, VCC: 4-bit bus mode Selects the HD66717 during clock-synchronized serial mode: Low: HD66717 is selected and can be accessed High: HD66717 is not selected and cannot be accessed Selects the registers during 4- or 8-bit bus mode: Low: Instruction register (write); busy flag and address counter (read) High: Data registers (write/read) Inputs serial (receive) data and outputs the acknowledge 2 bit during I C bus mode; Inputs serial (receive) data during clock-synchronous serial mode; selects read/write during 4or 8-bit bus mode: Low: Write High: Read Inputs serial clock pulses during I C bus mode and clocksynchronized serial mode; enables data read/write during 4- or 8-bit bus mode Inputs the HD66717's identification code (ID5, ID4) during 2 I C bus mode and clock-synchronized serial mode;must be fixed to high or low (DB7 and DB6...). Four high-order bidirectional data bus pins for tristate data transfer during 8-bit bus mode. Bidirectional data bus pins during 4-bit bus mode. Inputs the HD66717's identification code (ID3 to ID0) 2 during I C bus mode and clock-synchronized serial mode; must be fixed to high or low. Four low-order bidirectional data bus pins for tristate data transfer during 8-bit bus mode. Must be left disconnected during 4-bit bus mode since they are not used. Common output signals for segment icon display.
2
RS/CS*
1
I
MPU
RW/SDA
1
I/O, I MPU
E/SCL
1
I
MPU
DB7, DB6, DB5/ID5 DB4/ID4
4
I, I/O MPU
DB3/ID3, DB2/ID2, DB1/ID1, DB0/ID0,
4
I, I/O MPU
COMS1, COMS2
2
O
LCD
460
HD66717
Table 1
Signal COM1 to COM32
Pin Functional Description (cont)
Number of Pins I/O 32 O Device Interfaced with Function LCD Common output signals for character display: COM1 to COM8 for the first line, COM9 to COM16 for the second line, COM17 to COM24 for the third line, and COM25 to COM32 for the fourth line. All the unused pins output deselection waveforms. During sleep mode (SLP= 1) or standby mode (STB = 1), all pins output VCC level. Segment output signals for segment icon display and character display. During sleep mode (SLP = 1) or standby mode (STB = 1), all pins output VCC level. Common output signal for annunciator display; can drive display statically between VCC and AGND levels; outputs VCC level while annunciator display is turned off (DA = 0). Segment output signals for annunciator display; can drive display statically between VCC and AGND levels; output VCC level while annunciator display is turned off (DA = 0). V2/V3 are voltage levels for the internal operational amplifiers; can drive LCD with 1/4 bias when V2 and V3 are short-circuited and with 1/6 bias when they are left disconnected. Used for output from the internal operational amplifiers when they are used (OPOFF = GND); when amplifiers' driving capability is insufficient, attach a capacitor to stabilize the output. Especially these capacitors for V1OUT and V4OUT must be attached in 1/26 duty and 1/34 duty. When the amplifiers are not used (OPOFF = VCC); V1 to V5 voltages can be supplied to these pins externally. Adjusts the driving capability of the internal operational amplifiers according to the LCD power supply voltage. LCD Power Supply Voltage (VCC-VEE) VCC-VEE: 3V-5V VCC-VEE: 4V-6V VCC-VEE: 5V-8V VCC-VEE: 7V or more Pin Settings VREF, VREFP, and VREFM Only VREF and VREFP shorted All pins open All pins shorted Only VREF and VREFM shorted
SEG1 to SEG60 ACOM
60
O
LCD
1
O
LCD
ASEG1 to ASEG10 V2/V3
10
O
LCD
2
I
Open or Short-circuited
V1OUT to V5OUT
5
I or O --
VREFP, VREF, VREFM
3
I
Open or Short-circuited
VEE VCC/GND AGND OSC1/ OSC2
2 10 2 2
-- -- -- --
Power supply Power supply Power supply Oscillation resistor/clock
GND power supply for LCD drive VCC-VEE = 13V max. VCC: +2.4V to +5.5V, GND (logic): 0V Low level power supply for annunciator display; can adjust contrast of annunciators; AGND GND. For R-C oscillation, connect an external resistor For external clock supply, input clock pulses to OSC1.
461
HD66717
Table 1
Signal Vci
Pin Functional Description (cont)
Number of Pins I/O 2 I Device Interfaced with Function Power supply Inputs a reference voltage and supplies power to the booster; generates the liquid crystal display drive voltage from the operating voltage.
V5OUT2
1
O
VEE pin/ Booster Voltage input to the Vci pin is boosted twice and output. capacitance When the voltage is boosted three times, the same capacitance as that of C1-C2 should be connected here. VEE pin Booster capacitance -- MPU Voltage input to the Vci pin is boosted three times and output. External capacitance should be connected here when using the booster. Reset pin. Initializes the LSI when low. External alternating signal used for annunciator display during standby mode. If annunciator display is not used, EXM must be fixed to VCC or GND. Selects the SEG output pin arrangement: when SFT = GND, SEG1 is connected to the far left of the LCD panel and when SFT = VCC, SEG60 is connected to the far left of the LCD panel Turns the internal operational amplifier off when OPOFF = VCC, and turns it on when OPOFF = GND. If the amplifier is turned off (OPOFF = V CC), V1 to V5 must be supplied to the V1OUT to V5OUT pins. Test pin. Must be grounded.
V5OUT3 C1/C2 RESET* EXM
1 2 1 1
O -- I I
SFT
1
I
VCC or GND
OPOFF
1
I
VCC or GND
TEST
1
I
GND
462
HD66717
Block Function Description
System Interface The HD66717 has four types of system interfaces: I2C bus, clock-synchronized serial, 4-bit bus, and 8-bit bus. The interface mode is selected by the IM1 and IM0 pins. The HD66717 has two 8-bit registers: an instruction register (IR) and a data register (DR). The IR stores instruction codes, such as display clear, return home, and display control, and address information for the display data RAM (DDRAM), the character generator RAM (CGRAM), and the segment RAM (SEGRAM). The IR can only be written to by MPU and cannot be read from. The DR temporarily stores data to be written into DDRAM, CGRAM, SEGRAM, or annunciator. Data written into the DR from the MPU is automatically written into DDRAM, CGRAM, SEGRAM, or annunciator by an internal operation. The DR is also used for data storage when reading data from DDRAM, CGRAM, or SEGRAM. When address information is written into the IR, data is read and then stored into the DR from DDRAM, CGRAM, or SEGRAM by an internal operation. Data transfer between the MPU is then completed when the MPU reads the DR. After the read, data in DDRAM, CGRAM, or SEGRAM at the next address is sent to the DR for the next read from the MPU. These two registers can be selected by the register select (RS) signal in the 4/8-bit bus interface, and by 2 the RS bit in I C bus or clock-synchronized serial interface (Table 2). Busy Flag (BF) When the busy flag is 1, the HD66717 is in the internal operation mode, and the next instruction will not be accepted. When RS = low and R/W = high in 4/8-bit bus mode (Table 2), the busy flag is output from DB7. The next instruction must be written after ensuring that the busy flag is 0. The busy flag cannot be 2 read in I C bus mode or clock-synchronized serial mode; data must be transferred in appropriate timing considering instruction execution times. Address Counter (AC) The address counter (AC) assigns addresses to DDRAM, CGRAM, or SEGRAM. When the address set instruction is written into the IR, the address information is sent from the IR to the AC. Selection of DDRAM, CGRAM, and SEGRAM is also determined concurrently by the instruction. After writing into (reading from) DDRAM, CGRAM, or SEGRAM, the AC is automatically incremented by 1 (or decremented by 1). The AC contents are then output to DB0 to DB6 when RS = low and R/W = high in 4/8-bit bus mode (Table 2).
463
HD66717
Table 2
RS 0 0 1 1
Register Selection
R/W 0 1 0 1 Operation IR write as an internal operation (display clear, etc.) Read busy flag (DB7) read and address counter (DB0 to DB6) (4/8-bit bus interface) DR write as an internal operation (DR to DDRAM, CGRAM, SEGRAM, or annunciator) DR read as an internal operation (DDRAM, CGRAM, or SEGRAM to DR) (4/8-bit bus interface)
Display Data RAM (DDRAM) Display data RAM (DDRAM) stores display data represented in 8-bit character codes. Its capacity is 60 x 8 bits, or 60 characters, which is equivalent to an area of 12 characters x 5 lines. Any number of display lines (LCD drive duty ratio) from 1 to 4 can be selected by software. Here, assignment of DDRAM addresses is the same for all display modes (Table 3). The line to be displayed at the top of the display (display-start line) can also be selected by register settings. See Table 4.
MSB Address counter (AC) LSB
AC 6 AC5 AC4 AC3 AC2 AC1 AC0
Example : DDRAM address 4A 1 0 0 1 0 1 0
Figure 1 Address Counter and DDRAM Address Table 3
Display Line 1st 2nd 3rd 4th 5th
DDRAM Addresses and Display Positions
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th Char. Char. Char. Char. Char. Char. Char. Char. Char. Char. Char. Char. 00 10 20 30 40 01 11 21 31 41 02 12 22 32 42 03 13 23 33 43 04 14 24 34 44 05 15 25 35 45 06 16 26 36 46 07 17 27 37 47 08 18 28 38 48 09 19 29 39 49 0A 1A 2A 3A 4A 0B 1B 2B 3B 4B
Note: Char. indicates character position.
464
HD66717
Table 4 Display-Line Modes, Display-Start Line, and DDRAM Addresses
Display-Start Lines DisplayLine Mode 1-line (NL = 00) 2-line (NL = 01) 3-line (NL = 10) 4-line (NL = 11) Duty Ratio Common Pins 1/10 1/18 1/26 COM1-COM8 COM1-COM8 COM9-COM16 1st Line (SN = 000) 00H-0BH 00H-0BH 10H-1BH 2nd Line (SN = 001) 10H-1BH 10H-1BH 20H-2BH 10H-1BH 20H-2BH 30H-3BH 10H-1BH 20H-2BH 30H-3BH 40H-4BH 3rd Line (SN = 010) 20H-2BH 20H-2BH 30H-3BH 20H-2BH 30H-3BH 40H-4BH 20H-2BH 30H-3BH 40H-4BH 00H-0BH 4th Line (SN = 011) 30H-3BH 30H-3BH 40H-4BH 30H-3BH 40H-4BH 00H-0BH 30H-3BH 40H-4BH 00H-0BH 10H-1BH 5th Line (SN = 100) 40H-4BH 40H-4BH 00H-0BH 40H-4BH 00H-0BH 10H-1BH 40H-4BH 00H-0BH 10H-1BH 20H-2BH
COM1-COM8 00H-0BH COM9-COM16 10H-1BH COM17-COM24 20H-2BH COM1-COM8 COM9-COM16 COM17-COM24 COM25-COM32 00H-0BH 10H-1BH 20H-2BH 30H-3BH
1/34
Character Generator ROM (CGROM) The character generator ROM generates 5 x 8-dot character patterns from 8-bit character codes (Table 5). It can generate 240 5 x 8-dot character patterns. User-defined character patterns are also available using a mask-programmed ROM (see the Modifying Character Patterns section.) Character Generator RAM (CGRAM) The character generator RAM of 32 x 5 bits allows the user to redefine the character patterns for user fonts. In the case of 5 x 8-dot characters, up to four fonts may be redefined. Write the character codes at addresses 00H to 03H into DDRAM to display the character patterns stored in CGRAM. Segment RAM (SEGRAM) The segment RAM is used to enable control of segments such as an icon and a mark by the user program. Segments and characters are driven by a multiplexing drive method. SEGRAM has a capacity of 8 x 5 bits, for controlling the display of a maximum of 40 icons and marks. While COMS1 and COMS2 outputs are being selected, SEGRAM is read and segments (icons and marks) are displayed by a multiplexing drive method (20 segments each during COMS1 and COMS2 selection). Bits in SEGRAM corresponding to segments to be displayed are directly set by the MPU, regardless of the contents of DDRAM and CGRAM.
465
HD66717
Timing Generation Circuit The timing generation circuit generates timing signals for the operation of internal circuits such as DDRAM, CGROM, CGRAM, and SEGRAM. RAM read timing for display and internal operation timing by MPU access are generated separately to avoid interfering with each other. Therefore, when writing data to DDRAM, for example, there will be no undesirable interferences, such as flickering, in areas other than the display area. Cursor/Blink Control Circuit The cursor/blink (or white-black inversion) control is used to produce a cursor or a flashing area on the display at a position corresponding to the location stored in the address counter (AC). For example (Figure 2), when the address counter is 08H, a cursor is displayed at a position corresponding to DDRAM address (08)H. Multiplexing Liquid Crystal Display Driver Circuit The multiplexing liquid crystal display driver circuit consists of 34 common signal drivers (COM1 to COM32, COMS1, COMS2) and 60 segment signal drivers (SEG1 to SEG60). When the number of lines are selected by a program, the required common signal drivers automatically output drive waveforms, while the other common signal drivers continue to output deselection waveforms. Character pattern data is sent serially through a 60-bit shift register and latched when all needed data has arrived. The latched data then enables the segment signal drivers to generate drive waveform outputs. The shift direction of 60-bit data can be selected by the SFT pin; select the direction appropriate to the device mounting configuration. When multiplexing drive is not used, or during standby or sleep mode, all common and segment signal drivers output the VCC level, halting display. Annunciator Driver Circuit The static annunciator drivers, which are specially used for displaying icons and marks, consists of 1 common signal driver (ACOM) and 10 segment signal drivers (ASEG1 to ASEG10). Since this driver circuit operates at the logic operating voltage (VCC-AGND), the LCD drive power supply circuit is not necessary, and low-power consumption can be achieved. It is suitable for mark indication during system standby because of its drive capability during standby and sleep modes. When multiplexing drive is not used, or during standby or sleep mode, all common and segment signal drivers output the VCC level, halting display.
466
HD66717
Booster The booster doubles or triples a voltage input to the Vci pin. With this function, both the internal logic units and LCD drivers can be controlled with a single power supply. Oscillator The HD66717 can provide R-C oscillation simply by adding an external oscillation resistor between the OSC1 and OSC2 pins. The appropriate oscillation frequency for operating voltage, display size, and frame frequency can be obtained by adjusting the external-resistor value. Clock pulses can also be supplied externally. Since R-C oscillation is halted during standby mode, current consumption can be reduced. V-Pin Voltage-Followers A voltage-follower for each voltage level (V1 to V5) reduces current consumption by the LCD drive power supply circuit. No external resistors are required because of the internal bleeder-resistor, which generates different levels of LCD drive voltage. The voltage-followers can be turned off while multiplexing drive is not being used. Contrast-Adjuster The contrast-adjuster can adjust LCD contrast by varying LCD drive voltage by software. This function is suitable for selecting appropriate brightness of the LCD or for temperature compensation.
1 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 9 08 10 11 09 0A 12 0B Display position DDRAM address
Cursor position Note: The cursor/blink or white-black inversion control is also active when the address counter indicates the CGRAM or SEGRAM. However, it has no effect on the display.
Figure 2 Cursor Position and DDRAM Address
467
HD66717
Table 5 Relation between Character Codes and Character Patterns (ROM code: A03)
Upper Lower bits bits
0000
CG RAM (1)
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
xxxx 0000
xxxx 0001
CG RAM (2)
xxxx 0010
CG RAM (3)
xxxx 0011
CG RAM (4)
xxxx 0100
CG RAM (1)
xxxx 0101
CG RAM (2)
xxxx 0110
CG RAM (3)
xxxx 0111
CG RAM (4)
xxxx 1000
CG RAM (1)
xxxx 1001
CG RAM (2)
xxxx 1010
CG RAM (3)
xxxx 1011
CG RAM (4)
xxxx 1100
CG RAM (1)
xxxx 1101
CG RAM (2)
xxxx 1110
CG RAM (3)
xxxx 1111
CG RAM (4)
468
HD66717
Table 6 Relation between Character Codes and Character Patterns (ROM code: A13)
Lower bits Upper bits
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
CG
xxxx 0000 RAM
(1)
CG
xxxx 0001 RAM
(2)
CG
xxxx 0010 RAM
(3)
CG
xxxx 0011 RAM
(4)
CG
xxxx 0100 RAM
(1)
CG
xxxx 0101 RAM
(2)
CG
xxxx 0110 RAM
(3)
CG
xxxx 0111 RAM
(4)
CG
xxxx 1000 RAM
(1)
CG
xxxx 1001 RAM
(2)
CG
xxxx 1010 RAM
(3)
CG
xxxx 1011 RAM
(4)
CG
xxxx 1100 RAM
(1)
CG
xxxx 1101 RAM
(2)
CG
xxxx 1110 RAM
(3)
CG
xxxx 1111 RAM
(4)
Note : This A13 font pattern is an upside-down pattern of A03.
470
HD66717
Modifying Character Patterns * Character pattern development procedure The following operations correspond to the numbers listed in Figure 3: a. Determine the correspondence between character codes and character patterns. b. Create a listing indicating the correspondence between EPROM addresses and data. c. Program the character patterns into an EPROM. d. Send the EPROM to Hitachi. e. Computer processing of the EPROM is performed at Hitachi to create a character pattern listing, which is sent to the user. f. If there are no problems within the character pattern listing, a trial LSI is created at Hitachi and samples are sent to the user for evaluation. When it is confirmed by the user that the character patterns are correctly written, mass production of the LSI will proceed at Hitachi.
471
HD66717
Hitachi User Start
Computer processing Create character pattern listing Evaluate character patterns No
Determine character patterns Create EPROM address data listing
1
5
2
Write EPROM
3
EPROM Hitachi OK? Yes Art work
4
M/T
Masking
Trial
Sample
Sample evaluation
6
OK? Yes Mass production
No
Figure 3 Character Pattern Development Procedure
472
HD66717
Programming Character Patterns This section explains the correspondence between addresses and data used to program character patterns in EPROM. * Programming to EPROM The HD66717 character generator ROM can generate 240 5 x 8-dot character patterns. Table 7 shows correspondence between the EPROM address data and the character pattern. Handling Unused Character Patterns 1. EPROM data outside the character pattern area: This is ignored by the character generator ROM for display operation so any data is acceptable. 2. EPROM data in CGRAM area: Always fill with zeros. 3. Treatment of unused user patterns in the HD66717 EPROM: According to the user application, these are handled in either of two ways: a. When unused character patterns are not programmed: If an unused character code is written into DDRAM, all its dots are lit, because the EPROM is filled with 1s after it is erased. b. When unused character patterns are programmed as 0s: Nothing is displayed even if unused character codes are written into DDRAM. (This is equivalent to a space.) Table 7 Example of Correspondence between EPROM Address Data and Character Pattern (5 x 8 Dots)
EPROM Address A11 A10 A9 A8 A7 A6 A5 A4 A3 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 Character code A2 A1 A0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1
MSB
Data
LSB
O4 O3 O2 O1 O0 1 1 1 0 0 0 0 0001 0001 0001 010 0100 0100 01 00 0000
01
"0" Line position
Notes: 1. EPROM addresses A11 to A4 correspond to a character code. 2. EPROM addresses A2 to A0 specify the line position of the character pattern. EPROM address A3 should be set to 0. 3. EPROM data O4 to O0 correspond to character pattern data. 4. Areas which are lit (indicated by shading) are stored as 1, and unlit areas as 0. 5. The eighth raster-row is also stored in the CGROM, and should also be programmed. If the eighth raster-row is used for a cursor, this data should all be set to zero. 6. EPROM data bits O7 to O5 are invalid. 0 should be written in all bits.
473
HD66717
Table 8 Example of Relationships between Character Code (DDRAM) and Character Pattern (CGRAM Data)
Character code (DDRAM data) D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 * * 0 0 CGRAM address A4 A3 0 0 A2 A1 A0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
MSB
CGRAM data
LSB
O7 O6 O5 *** (Don't care)
O4 O3 O2 O1 O0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0
Character pattern (1)
0
0
0
0
*
*
1
1
1
1
*** (Don't care)
Character pattern (4)
Notes: 1. The lower 2 bits of the character code correspond to the upper two bits of the CGRAM address (2 bits: 4 types). 2. CGRAM address bits 0 to 2 designate the character pattern raster-row position. The 8th rasterrow is the cursor position and its display is formed by a logical OR with the cursor. 3. The upper three bits of the CGRAM data are invalid; use the lower five bits. 4. When the upper four bits (bits 7 to 4) of the character code are 0, CGRAM is selected. Bits 3 and 2 of the character code are invalid (*). Therefore, for example, the character codes (00)H and (08)H correspond to the same CGRAM address. 5. A set bit in the CGRAM data corresponds to display selection, and 0 to non-selection. * Indicates no effect.
474
HD66717
Table 9 Correspondence between Segment Display SEGRAM Addresses (ASEG) and Driver Signals
Segment Signals D6 * D5 * D4 SEG1, SEG21, SEG41 SEG6, SEG26, SEG46 SEG11, SEG31, SEG51 SEG16, SEG36, SEG56 SEG1, SEG21, SEG41 SEG6, SEG26, SEG46 SEG11, SEG31, SEG51 SEG16, SEG36, SEG56 D3 SEG2, SEG22, SEG42 SEG7, SEG27, SEG47 SEG12, SEG32, SEG52 SEG17, SEG37, SEG57 SEG2, SEG22, SEG42 SEG7, SEG27, SEG47 SEG12, SEG32, SEG52 SEG17, SEG37, SEG57 D2 SEG3, SEG23, SEG43 SEG8, SEG28, SEG48 SEG13, SEG33, SEG53 SEG18, SEG38, SEG58 SEG3, SEG23, SEG43 SEG8, SEG28, SEG48 SEG13, SEG33, SEG53 SEG18, SEG38, SEG58 D1 SEG4, SEG24, SEG44 SEG9, SEG29, SEG49 SEG14, SEG34, SEG54 SEG19, SEG39, SEG59 SEG4, SEG24, SEG44 SEG9, SEG29, SEG49 SEG14, SEG34, SEG54 SEG19, SEG39, SEG59 D0 SEG5, SEG25, SEG45 SEG10, SEG30, SEG50 SEG15, SEG35, SEG55 SEG20, SEG40, SEG60 SEG5, SEG25, SEG45 SEG10, SEG30, SEG50 SEG15, SEG35, SEG55 SEG20, SEG40, SEG60 Common Signal COMS1
ASEG Address MSB LSB D7 1 0 0 0 *
1
0
0
1
*
*
*
COMS1
1
0
1
0
*
*
*
COMS1
1
0
1
1
*
*
*
COMS1
1
1
0
0
*
*
*
COMS2
1
1
0
1
*
*
*
COMS2
1
1
1
0
*
*
*
COMS2
1
1
1
1
*
*
*
COMS2
Notes: 1. When the SFT pin is grounded, the SEG1 pin output is connected to the far left of the LCD panel, and when the SFT pin is high, the SEG60 pin output is connected to the far left. 2. SEG1 to SEG20 data is identical to SEG21 to SEG40 and SEG41 to SEG60 data. 3. The lower five bits (D4 to D0) of SEGRAM data determine on or off display of each segment. A segment is selected (turned on) when the corresponding data is 1, and is deselected (turned off) when the corresponding data is 0. The upper three bits (D7 to D5) are invalid.
475
HD66717
Table 10 Correspondence between Annunciator Display Addresses (AAN) and Driver Signals
Annunciator Segment Signals D6 ASEG1 Data ASEG5 Data ASEG9 Data D5 ASEG2 Blink ASEG6 Blink D4 ASEG2 Data ASEG6 Data D3 ASEG3 Blink ASEG7 Blink D2 ASEG3 Data ASEG7 Data -- * D1 ASEG4 Blink ASEG8 Blink -- * D0 ASEG4 Data ASEG8 Data -- * Common Signal ACOM ACOM ACOM
AAN Address MSB LSB D7 0 0 0 0 0 0 0 0 1 0 1 0 ASEG1 Blink ASEG5 Blink ASEG9 Blink
ASEG10 ASEG10 -- Blink Data *
Notes: 1. The annunciator is turned on when the corresponding even bit (data) is 1, and is turned off when 0. 2. The turned-on annunciator blinks when the corresponding odd bit (blink) is 1. Blinking is provided by repeatedly turning on the annunciator for 32 frames and then turning it off for the next 32 frames.
476
HD66717
Instructions
Outline Only the instruction register (IR) and the data register (DR) of the HD66717 can be controlled by the MPU. Before starting internal operation of the HD66717, control information is temporarily stored in these registers to allow interfacing with various peripheral control devices or MPUs which operate at different speeds. The internal operation of the HD66717 is determined by signals sent from the MPU. These signals, which include register selection (RS), read/write (R/W), and the data bus (DB0 to DB7), make up the HD66717 instructions (Table 17). There are four categories of instructions that: * * * * Control display Control power management Set internal RAM addresses Perform data transfer with internal RAM
Normally, instructions that perform data transfer with internal RAM are used the most. However, autoincrementation by 1 (or auto-decrementation by 1) of internal HD66717 RAM addresses after each data write can lighten the program load of the MPU. While an instruction is being executed for internal operation, or during reset, no instruction other than the busy flag/address read instruction can be executed. Because the busy flag is set to 1 while an instruction is being executed, check it to make sure it is 0 before sending another instruction from the MPU. If an instruction is sent without checking the busy flag, the time between the first instruction issue and next instruction issue must be longer than the instruction execution time itself. Refer to Table 16 for the list of each instruction execution cycles (clock pulses). The execution time depends on the operating clock frequency (oscillation frequency).
477
HD66717
Instruction Description
Status Read The status read instruction (Figure 4) reads the busy flag (BF) indicating that the system is now internally operating on a previously received instruction. If BF is 1, the internal operation is in progress. The next instruction will not be accepted until BF is reset to 0. Check the BF status before the next write operation. At the same time, the value of the address counter in binary AAAAAAA is read out. This address counter is used by both CGRAM, DDRAM, and SEGRAM addresses, and its value is determined by the previous instruction. Clear Display The clear display instruction (Figure 5) writes space code (20)H (character pattern for character code (20)H must be a blank pattern) into all DDRAM addresses. It then sets DDRAM address 0 into the address counter. It also sets I/D to 1 (increment mode) in entry mode.
RS R/W DB7 0 1 BF A A A A A A DB0 A
Figure 4 Status Read Instruction
RS R/W DB7 0 0 0 0 0 0 0 0 0 DB0 1
Figure 5 Clear Display Instruction
478
HD66717
Return Home The return home instruction (Figure 6) sets DDRAM address 0 into the address counter. The DDRAM contents do not change.The cursor or blinking goes to the top left of the display. Start Oscillator The start oscillator instruction (Figure 7) re-starts the oscillator from a halt state in standby mode. After issuing this instruction, wait at least 10 ms for oscillation to become stable before issuing the next instruction. (Refer to the Standby Mode section.) Entry Mode The entry mode instruction (Figure 8) includes the I/D and OSC bits. I/D: Increments (I/D = 1) or decrements (I/D = 0) the DDRAM address by 1 when a character code is written into or read from DDRAM.The cursor or blinking moves to the right when incremented by 1 and to the left when decremented by 1. The same applies to writing and reading of CGRAM and SEGRAM. OSC: Divides the external clock frequency by four (OSC = 1) using the resulting clock as an internal operating clock. The execution time for this instruction and subsequent ones is therefore quadrupled. The execution time of clearing this bit (OSC = 0) is also quadrupled. (For application of this instruction, refer to the Partial-Display-Off Function section.)
RS R/W DB7 0 0 0 0 0 0 0 0 1 DB0 0
Figure 6 Return Home Instruction
RS R/W DB7 0 0 0 0 0 0 0 0 1 DB0 1
Figure 7 Start Oscillator Instruction
479
HD66717
Cursor Control The cursor control (Figure 9) includes the B/W, C, and B bits. B/W: When B/W is 1, the character at the cursor position is cyclically (every 32 frames) displayed with black-white inversion. C: The cursor is displayed on the 8th raster-row when C is 1. The cursor is displayed using 5 dots in the 8th raster-row for 5 x 8-dot character font. B: The character indicated by the cursor blinks when B is 1. The blinking is displayed as switching between all black dots and displayed characters every 32 frames. The cursor and blinking can be set to display simultaneously. When LC and B = 1, the blinking is displayed as switching between all white dots and displayed characters. Figure 10 shows cursor control examples.
RS R/W DB7 0 0 0 0 0 0 0 1 DB0 I/D OSC
Figure 8 Entry Mode Instruction
RS R/W DB7 0 0 0 0 0 0 1 B/W C DB0
B
Figure 9 Cursor Control Instruction
480
HD66717
Display On/Off Control The display on/off control instruction (Figure 11) includes DC, DS, and LC bits. DC: The character display is on when DC is 1 and off when DC is 0. When off, the display data remains in DDRAM, and can be displayed instantly by setting DC to 1. DS: When DS = 1, segment display for icons and marks that is controlled by the multiplexing drive method is turned on and when DS = 0, it is turned off. When both DC and DS = 0, multiplexing drive is halted, setting the outputs from SEG1 to SEG60, COM1 to COM32, and COMS1 and COMS2 to VCC level to turn off the display. This can suppress current for LCD charging or discharging due to LCD driving operations. LC: When LC = 1, a cursor attribute is assigned to the line that contains the address counter (AC) value. Cursor mode can be selected with the B/W, C, and B bits. Refer to the Line-Cursor Display section.
Alternating display (every 32 frames) i) White-black inverting display example
Alternating display ii) 8th raster-row cursor display ii) Blink display example
Figure 10 Cursor Control Examples
RS R/W DB7 0 0 0 0 0 1 0 DB0 DC DS LC
Figure 11 Display On/Off Instruction
481
HD66717
Power Control The cursor control instruction (Figure 12) includes the AMP, SLP, and STB bits. AMP: When AMP = 1, each voltage-follower for V1 to V5 pins and the booster are turned on. When AMP = 0, current consumption can be reduced while character or segment display controlled by the multiplexing drive method is not being used. SLP: When SLP = 1, the HD66717 enters sleep mode, where all the internal operations are halted except for annunciator display function and the R-C oscillator, thus reducing current consumption. Refer to the Sleep Mode section. Only the following instructions can be executed during sleep mode. 1. 2. 3. 4. 5. 6. Annunciator address set (AAN) Annunciator data write Annunciator display on or off (DA = 1 or 0) Voltage-follower on or off (AMP = 1 or 0) Standby mode set (STB = 1) Sleep mode cancel (SLP = 0)
During sleep mode, other RAM data and instructions cannot be updated but they are retained. STB: When STB = 1, the HD66717 enters standby mode, where the device completely stops, halting all the internal operations including the internal R-C oscillator and no external clock pulses are supplied. However, annunciator display alone is available when the alternating signal for annunciator-driving signals is supplied to the EXM pin. When the annunciator display is not needed, make sure to turn off display (DA = 0). Refer to the Standby Mode section. Only the following instructions can be executed during standby mode. 1. 2. 3. 4. 5. 6. Annunciator address set (AAN) Annunciator data write Annunciator display on or off (DA = 1 or 0) Voltage-follower on or off (AMP = 1 or 0) Start oscillator Standby mode cancel (STB = 0)
During standby mode, RAM data and other instructions may be lost; they must be set again after standby mode is cancelled.
RS R/W DB7 0 0 0 0 0 1 DB0 1 AMP SLP STB
Figure 12 Power Control Instruction
482
HD66717
Display Control The display control instruction (Figure 13) includes the NL and DL bits. NL1, NL0: Designates the number of display lines. This value determines the LCD drive multiplexing duty ratio (Table 11). The address assignment is the same for all display line modes. DL3-DL1: Doubles the height of characters on a specified line. The first, second, or third line is doubled in height when DL1, DL2, or DL3 = 1, respectively. Two lines can be simultaneously doubled in a 4-line display. Refer to the Double-Height Display section.
RS R/W DB7 0 0 0 0 1 DB0 NL1 NL0 DL3 DL2 DL1
Figure 13 Display Control Instruction Table 11
NL1 0 0 1 1
NL Bits and Display Lines
NL0 0 1 0 1 Number of Display Lines 1 2 3 4 LCD Drive Multiplexing Duty Ratio 1/10 1/18 1/26 1/34
483
HD66717
Contrast Control The contrast control instruction (Figure 14) includes the SN and CT bits. SN2: Combined with the SN1 and SN0 bits described in the Scroll Control section to select the first line to be scrolled (display-start line). CT3-CT0: Controls the LCD drive voltage (potential difference between VCC and V5) to adjust contrast (Figure 15 and Table 12). Refer to the Contrast Adjuster section.
RS R/W DB7 0 0 0 1 DB0 0 SN2 CT3 CT2 CT1 CT0
Figure 14 Contrast Control Instruction
HD66717 VCC V1 V2 R R R V3 V4 V5 R R R VR VEE
+ - + -
+ - + - + -
Figure 15 Contrast Adjuster
484
HD66717
Scroll Control The scroll control instruction (Figure 16) includes the SN and SL bits. SN1, SN0: Combined with the SN2 bit described in the Contrast Control section to select the top line to be displayed (display-start line) through the data output from the COM1 pin (Table 13). After first five lines are displayed from the top line, the cycle is repeated and scrolling continues. Table 12
CT3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
CT Bits and Variable Resistor Value of Contrast Adjuster
CT1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 CT0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Variable Resistor Value (VR) 6.4 x R 6.0 x R 5.6 x R 5.2 x R 4.8 x R 4.4 x R 4.0 x R 3.6 x R 3.2 x R 2.8 x R 2.4 x R 2.0 x R 1.6 x R 1.2 x R 0.8 x R 0.4 x R
CT2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
RS R/W DB7 0 0 0 1
DB0 1 SN1 SN0 SL2 SL1 SL0
Figure 16 Scroll Control Instruction
485
HD66717
SL2-SL0: Selects the top raster-row to be displayed (display-start raster-row) in the display-start line specified by SN2 to SN0. Any raster-row from the first to eighth can be selected (Table 14). This function is used to perform vertical smooth scroll together with SN2 to SN0. Refer to the Vertical Smooth Scroll section. Table 13
SN2 0 0 0 0 1
SN Bits and Display-Start Lines
SN0 0 1 0 1 0/1 Display-Start Line 1st line 2nd line 3rd line 4th line 5th line
SN1 0 0 1 1 0/1
Table 14
SL2 0 0 0 0 1 1 1 1
SN Bits and Display-Start Raster-Rows
SL0 0 1 0 1 0 1 0 1 Display-Start Raster-Row 1st raster-row 2nd raster-row 3rd raster-row 4th raster-row 5th raster-row 6th raster-row 7th raster-row 8th raster-row
SN1 0 0 1 1 0 0 1 1
486
HD66717
Annunciator/SEGRAM Address Set The annunciator/SEGRAM address set instruction (Figure 17) includes the DA and A bits. DA: Turns annunciator display on or off. When DA = 1, annunciator display is turned on and driven statically. When DA = 0, annunciator display is turned off with ASEG1 to ASEG10 and ACOM pins held to VCC level. The internal operating clock supply is halted during standby mode; make sure to turn off display (DA = 0) if the external alternating signal is not supplied. Refer to the Segment Display and Annunciator Display section and the Standby Mode section. AAAA: Used for setting the SEGRAM address in the address counter (AC) or for setting an annunciator address. The SEGRAM addresses range from 1000H to 1111H (8 addresses), while the annunciator addresses range from 0000H to 0010H (3 addresses). The annunciator address is directly set without using the address counter, and consequently must be updated for each access. The annunciator address can be set even during sleep and standby modes. Once the SEGRAM address is set, data in the SEGRAM can be accessed consecutively since the address counter is automatically incremented or decremented by one according to the I/D bit setting after each access. The SEGRAM address cannot be set during sleep or standby mode.
RS R/W DB7 0 0 1 0 0 DA A A A DB0 A
Figure 17 Annunciator/SEGRAM Address Set Instruction
487
HD66717
CGRAM Address Set The CGRAM address set instruction (Figure 18) includes the A bits. AAAAA: Used for setting the CGRAM address in the address counter (AC). The CGRAM addresses range from 00H to 1FH (32 addresses) (Table 15). Once the CGRAM address is set, data in the CGRAM can be accessed consecutively since the address counter is automatically incremented or decremented according to the I/D bit setting after each access. The CGRAM address cannot be set during sleep or standby mode.
RS R/W DB7 0 0 1 0 1 A A A A DB0 A
Figure 18 CGRAM Address Set Instruction Table 15 CGRAM Addresses and Character Codes
CGRAM Address 00H to 07H 08H to 0FH 10H to 17H 18H to 1FH Character Codes 00H 01H 02H 03H
Displayed Character 1st character 2nd character 3rd character 4th character
488
HD66717
DDRAM Address Set The DDRAM address set instruction (Figure 19) includes the A bits. AAAAAAA: Used for setting the DDRAM address in the address counter (AC). The DDRAM addresses range from 00H to 4BH (60 addresses) (Table 16). Once the DDRAM address is set, data in the DDRAM can be accessed consecutively since the address counter is automatically incremented or decremented according to the I/D bit setting after each access. Here, invalid addresses are automatically skipped. The DDRAM address cannot be set during sleep or standby mode.
RS R/W DB7 0 0 0 0 1 1 1 1 0 1 0 A 0 A 0 A A A DB0 A A Upper bits Lower bits
Figure 19 DDRAM Address Set Instruction
Table 16
DDRAM Addresses and Invalid Addresses
DDRAM Address 00H to 0BH 10H to 1BH 20H to 2BH 30H to 3BH 40H to 4BH Invalid Addresses 0CH to 0FH 1CH to 1FH 2CH to 2FH 3CH to 3FH 4CH and subsequent addresses
Displayed Line 1st line 2nd line 3rd line 4th line 5th line
489
HD66717
Write Data to RAM The write data to RAM instruction (Figure 20) writes 8-bit data to annunciator or DDRAM, or lower 5-bit data to SEGRAM or CGRAM that is selected by the previous specification of the address set instruction (annunciator/SEGRAM address set, CGRAM address set, or DDRAM address set). After a write, the address is automatically incremented or decremented by 1 according to the I/D bit setting in the entry mode instruction. The annunciator address is not automatically updated; it must be specifically updated to write data to a different address. During sleep and standby modes, DDRAM, CGRAM, or SEGRAM cannot be accessed. Read Data from RAM The read data from RAM instruction (Figure 21), reads 8-bit data from DDRAM, or 5-bit binary data from CGRAM or SEGRAM that is selected by the previous specification of the address set instruction (SEGRAM address set, CGRAM address set, or DDRAM address set). The unused upper three bits of CGRAM or SEGRAM data are read as 000; annunciator data cannot be read. If no address is specified by the address set instruction just before this instruction, the first data read will be invalid. When executing serial read instructions, the next address is normally read from the next address. After a read, the address is automatically incremented or decremented by 1 according to the I/D bit setting in the entry mode instruction. Table 17 lists the above instructions.
RS R/W DB7 1 0 D D D D D D D DB0 D
Figure 20 Write Data to RAM Instruction
RS R/W DB7 1 1 D D D D D D D DB0 D
Figure 21 Read Data from RAM Instruction
490
HD66717
Table 17 Instruction List
Code Instruction No. Status SR R/W RS 1 0 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Description BF AC AC AC AC AC AC AC Reads busy flag (BF), which indicates internal operations are being performed, and reads address counter (AC). Clears entire display and sets DDRAM address 0 in address counter. Execution Cycle *1 0
Clear display Return home Start oscillator Entry mode set
CL
0
0
0
0
0
0
0
0
0
1
310
CH OS EM
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 1
1 1 I/D
0 1
Sets DDRAM address 0 in 10 address counter. Starts oscillation during standby mode. --
OSC Sets address update 10 direction after RAM access (I/D), and system clock division (OSC). B Sets black-white inverting cursor (B/W), 8th rasterrow cursor (C), and blink cursor (B). Sets character display on/off (DC), segment display on/off (DS), and line-cursor on/off (LC). 10
Cursor control
CR
0
0
0
0
0
0
1
B/W C
Display on/off control Power control
DO
0
0
0
0
0
1
0
DC
DS
LC
10
PW
0
0
0
0
0
1
1
AMP SLP STB Turns on voltage-follower 10 and booster (AMP), and sets sleep mode (SLP) and standby mode (STB). DL3 DL2 DL1 Sets the number of display 10 lines (NL) and the line to be doubled in height. 10
Display control Contrast control Scroll control
DC
0
0
0
0
1
NL1
NL0
CN
0
0
0
1
0
SN2 CT3 CT2 CT1 CT0 Sets the display-start line (SN2) and contrastadjusting value (CT). SN1 SN0 SL2 SL1 SL0 Sets the display-start line (SN) and display-start raster-row (SL).
SC
0
0
0
1
1
10
Annunciator AS /SEGRAM address set CGRAM CA address set DDRAM DA address set (upper bits) DDRAM DA address set (lower bits)
0
0
1
0
0
DA
AAN/ AAN/ AAN/ AAN/ Turns on annunciator ASEG3 ASEG2 ASEG1 ASEG0 display and sets annunciator/SEGRAM address. ACG3 ACG2 ACG1 ACG0 Sets the initial CGRAM address to the address counter. Sets the initial higher DDRAM address to the address counter. Sets the initial lower DDRAM address to the address counter.
10
0
0
1
0
1
ACG4
10
0
0
1
1
0
0
0
0
ADD6
ADD5
10
0
0
1
1
1
ADD4
ADD3
ADD2
ADD1
ADD0
10
491
HD66717
Table 17 Instruction List (cont)
Code Instruction No. Write data to RAM Read data from RAM WD R/W RS 0 1 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Description Write data Writes data to DDRAM, CGRAM, SEGRAM, or annunciator. Reads data from DDRAM, CGRAM, or SEGRAM. Execution 1 Cycle * 10
RD
1
1
Read data
10
BF = 1: I/D = 1: OSC = 1: B/W = 1: B = 1: D = 1: DC = 1: LC = 1: AMP = 1: STB = 1: NL1,NL0:
Internally operating AC: Address counter Increment I/D = 0: Decrement System clock divided by four Black-white inverting cursor on C = 1: 8th raster-row cursor on Blink cursor on Display on Character display on DS = 1: Segment display on Line containing AC given cursor attribute Voltage-follower and booster on SLP = 1: Sleep mode Standby mode Number of display lines [00: 1line (1/10 duty ratio), 01: 2 lines (1/18 duty ratio), 10: 3 lines (1/26 duty ratio),11:4 lines (1/34 duty ratio)] DL3 - DL1: Double-height lines (DL1 = 1: 1st line, DL2 = 1: 2nd line, DL3 = 1: 3rd line) CT3-CT0: Contrast adjustment SN2 - SN0: Display-start line (000: 1st line, 001: 2nd line, 010: 3rd line, 011: 4th line, 100: 5th line) SL2 - SL0: Display-start raster-row (000: 1st raster-row... 111: 8th raster-row) DA = 1: Annunciator display on AAN/ASEG = 1000-1111: SEGRAM address AAN/ASEG = 0000-0010: Annunciator address ACG4-ACG0: CGRAM address (00000-11111) ADD6-ADD0: DDRAM address (0000000-1001011)
Note:
1. Represented by the number of operating clock pulses; the execution time depends on the supplied clock frequency or the internal oscillation frequency.
492
HD66717
Reset Function
Initializing by Internal Reset Circuit The HD66717 is internally initialized by RESET input. During reset, the system executes the instructions as described below. Here, the busy flag (BF) therefore indicates a busy state (BF = 1), accepting no instruction or RAM data access from the MPU. Here, reset input must be held at least 10 ms. After releasing power-on reset, clear display instruction is operated, so wait for 1,000 clock-cycles or more. Make sure to reset the HD66717 immediately after power-on reset in I C bus mode. 1. Instruction set initialization a. Clear display: Writes 20H to DDRAM after releasing reset b. Return home Sets the address counter (AC) to 00H to select the DDRAM c. Start oscillator d. Entry mode I/D = 1: Increment by 1 OSC = 0: Clock frequency not divided e. Cursor control B/W = 0: White-black inverting cursor off C = 0: 8th raster-row cursor off B = 0: Blink cursor off f. Display on/off control DC = 0: Character display off DS = 0: Segment display off LC = 0: Line-cursor off g. Power control AMP = 0: LCD power supply off SLP = 0: Sleep mode off STB = 0: Standby mode off h. Display control NL1, NL0 = 11: 4-line display (1/34 multiplexing duty ratio) DL3-DL1 = 000: Double-height display off i. Contrast adjust CT = 0000: Weak contrast j. Scroll control SN2-SN0 = 000: First line displayed at the top SL2-SL0 = 000: First raster-row displayed at the top of the first line
2
493
HD66717
k. Annunciator control DA = 0: Annunciator display off 2. RAM data initialization a. DDRAM All addresses are initialized to 20H by the clear display instruction b. CGRAM/SEGRAM Not automatically initialized by reset input; must be initialized by software while display is off (DC and DS = 0) c. Annunciator data Not automatically initialized by reset input; must be initialized by software while display is off (DA= 0) 3. Output pin initialization a. LCD driver output pins (SEG/COM, ASEG/ACOM): Outputs VCC level b. Booster output pins (V5OUT2 and V5OUT3): Outputs GND level c. Oscillator output pin (OSC2): Outputs oscillation signal
494
HD66717
Transferring Serial Data
I C Bus Interface Grounding the IM1 and IM0 pins (interface mode pins) allows serial data transfer conforming to the I 2C bus interface over the serial data line (SDA) and serial transfer clock line (SCL). Here, the HD66717 operates in an exclusive-receive slave mode. The HD66717 initiates serial data transfer by transferring the first byte when a high SCL level at the falling edge of the SDA input is sampled; it ends serial data transfer when a high SCL level at the rising edge of the SDA input is sampled. The HD66717 is selected when the higher six bits of the 7-bit slave address in the first byte transferred from the master device match the 6-bit device identification code assigned to the HD66717. The HD66717, when selected, receives the subsequent data strings. Any identification code can be assigned by the DB5/ID5 to DB0/ID0 pins; select an appropriate code that is not assigned to any other slave device. The higher four bits (ID5 to ID2) of this identification code is recommended as 0111. Two different slave addresses must be assigned to a single HD66717 because the least significant bit (LSB) of the slave address is used as a register select bit (RS): when RS = 0, an instruction can be issued and when RS = 1, data can be written to a RAM. The eighth bit of the first byte (R/W bit) must be 0 since the HD66717 exclusively receives data. The ninth bit of the first byte is a receive-data acknowledge bit (ACK). When the received slave address matches the device ID code, the HD66717 pulls down the ACK bit to a low level. Therefore, the ACK output buffer is an open-drain structure, only allowing low-level output. However, the ACK bit is undetermined immediately after power-on; make sure to initialize the LSI using the RESET* input. After identifying the address in the first byte, the HD66717 receives the subsequent data as an HD66717 instruction or as RAM data. Having received 8-bit data normally, the HD66717 pulls down the ninth bit (ACK) to a low level. Therefore, if the ACK is not returned, the data must be transferred again. Multiple bytes of data can be consecutively transferred until the transfer-end condition is satisfied. Here, when the serial data transfer rate is longer than that of the HD66717 instruction execution cycle, effective data transfer is possible without retransmission (see Table 17, Instruction List). Note that the display-clear instruction alone requires longer execution time than the others. Table 18 illustrates the first bytes of I C bus interface data and Figure 22 shows the I C bus interface timing sequence .
2 2 2
495
HD66717
Table 18 First Bytes of I C Bus Interface Data
Transferred Bit String First Byte
2
2
S
Bit 1
Bit 2
Bit 3
Bit 4
2
Bit 5
Bit 6
Bit 7
Bit 8 R/W
Bit 9 ACK
I C bus system Transfer start A6 HD66717 Transfer start ID5 O
I C slave address A5 A4 A3 A2 A1 A0 RS ID0
Device ID code ID4 I ID3 I ID2 I ID1
0
ACK
Transfer start 1 SCL (input) MSB SDA (input) MSB 2 3 4 5 6 7 8
Transfer end 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
ID5 ID4 ID3 ID2 ID1 ID0 RS "0" Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack Device ID code Slave address 1st byte Acknowledge RS 1st instruction Acknowledge Instructions 2nd instruction Acknowledge
a) Basic data transfer (receive) timing
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 SCL (input) SDA (input) S Start 1st byte A C K Instruction 1 A C K Instruction 2 A C K Instrucation 3 A C K P
Instruction 1 execution time
Instruction 2 execution time
End
b) Consecutive data transfer timing
Note: Transfer the instruction 2 ACK after instruction 1 has been executed.
Figure 22 I C Bus Interface Timing Sequence
2
496
HD66717
Clock-Synchronized Serial Interface Setting the IM1 and IM0 pins (interface mode pins) to the GND and high levels, respectively, allows standard clock-synchronized serial data transfer, using the chip select (CS*), SDA, and SCL lines. Here, the HD66717 exclusively receives data. The HD66717 initiates serial data transfer by transferring the start byte at the falling edge of the CS* input. It ends serial data transfer at the rising edge of the CS* input. The HD66717 is selected when the 6-bit chip address in the start byte transferred from the transmitting device matches the 6-bit (device) identification code assigned to the HD66717. The HD66717, when selected, receives the subsequent data strings. Any identification code can be assigned by the DB5/ID5 to DB0/ID0 pins. Two different chip addresses must be assigned to a single HD66717 because the seventh bit of the start byte is used as a register select bit (RS): when RS = 0, an instruction can be issued and when RS = 1, data can be written to a RAM. The eighth bit of the start byte must be 0. After receiving the start byte, the HD66717 receives the subsequent data as an HD66717 instruction or as RAM data. Data is transferred with the MSB first. To transfer data consecutively, adjust the data transfer rate so that the HD66717 can complete the current instruction before the eighth bit of the next instruction is transferred. See Table 17, Instruction List. If the next instruction is received during execution of the previous instruction, the next instruction will be ignored. Note that the display-clear instruction alone requires longer execution time than the others. Figure 23 shows the clock-synchronised serial interface timing sequence.
497
HD66717
Transfer start CS* (Input) SCL (Input) MSB SDA (Input) ID5 ID4 ID3 ID2 ID1 ID0 RS 0 Device ID code Start byte RS D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 1st instruction 2nd instruction Transfer end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Instruction
(a) Basic data transfer (receive) timing
CS* (Input) 12345678 SCL (Input) SDA (Input) Start 1st byte Instruction 1 Instruction 2 Instruction 3 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Instruction 1 execution time
Instruction 2 execution time
End
(b) Consecutive data transfer timing
Note: Adjust the transfer rate so that the HD66717 can complete instruction 1 before the 8th bit of instruction 2 is transferred.
Figure 23 Clock-Synchronized Serial Interface Timing Sequence
498
HD66717
Transferring Parallel Data
Interface with an 8-Bit MPU Eight-bit data can be transferred in parallel by setting the IM1 and IM0 pins to the VCC and GND levels, respectively (Figure 24). The HD66717 can interface directly with an 8-bit bus synchronized with the E clock, or with an 8-bit MCU through an I/O port (Figure 25). When the number of I/O lines or chip packaging size is limited, a 4-bit bus interface or even serial data transfer should be used.
RS
R/W E Internal operation Not Busy
Internal signal
DB7
Data Instruction write
Busy
Busy
Data Instruction write
Busy flag check Busy flag check Busy flag check
Figure 24 8-Bit Parallel Data Transfer Timing Sequence
I/O port interface
H8/325
C0 C1 C2 8
E RS R/W
HD66717
A0 - A7
DB0 - DB7
Figure 25 8-Bit MPU Interface
499
HD66717
Interface with a 4-Bit MPU Four-bit data can be transferred in parallel by setting both the IM1 and IM0 pins to the VCC level (Figure 26). Four-bit data representing higher or lower bits of 8-bit instructions or 8-bit RAM data can be transferred in that order. The HD66717 can forcibly reset the counter that counts the number of higher and lower 4-bit data transfers in a 4-bit bus interface. This function, called transfer-syncronization, can be performed by writing a special instruction containing 0000 four consecutive times (Figure 27). For example, when a data transfer sequence becomes disordered due to noise or some undesired factor, this function resets the counter and thus enables resuming data transfer from the higher 4 bits. Using this function at specified intervals prevents display-system crash.
RS Internal operation
R/W E
Internal signal Busy AC3 Not Busy Busy flag check AC3 D7 D3
DB7
IR7
IR3
Instruction write
Busy flag check
Instruction write
Figure 26 4-Bit Parallel Data Transfer Timing Sequence
RS
R/W
E DB7- DB0 0000 (1) 0000 (2) 0000 (3) 0000 (4) (4-bit data transfer synchronized) Higher Lower
Figure 27 4-Bit Data Transfer Synchronization
500
HD66717
Oscillator Circuit
The HD66717 can either be supplied with operating clock pulses externally (external clock mode) or oscillate using an internal R-C oscillator and an external oscillator-resistor (internal oscillation mode), as shown in Figure 28. An appropriate oscillator-resistor must be used to obtain the optimum clock frequency according to the number of display lines (Table 18). Instruction execution times change in proportion to the operating clock frequency or R-C oscillation frequency; MPU data transfer rate must be appropriately adjusted (see Table 17, Instruction List). Figure 29 shows a sample LCD drive output waveform, where 4-lines are displayed with 1/34 multiplexing duty ratio.
1) When an external clock is used 2) When an internal oscillator is used
Clock
OSC1
Rf
OSC1 OSC2
HD66717
HD66717
The oscillator frequency can be adjusted by oscillator resistance (Rf). If Rf is increased or power supply voltage is decreased, the oscillator frequency decreases.
Figure 28 Oscillator Circuit Table 19
Item Multiplexing duty ratio Oscillator resistance (Rf) CR oscillator frequency Frame frequency VCC = 3V
Oscillation Frequency and LCD Frame Frequency
1-Line Display 2-Line Display 3-Line Display 4-Line Display NL1, NL0 = 00 NL1, NL0 = 01 NL1, NL0 = 10 NL1, NL0 = 11 1/10 620 k 40 kHz 67 Hz 1/18 300 k 85 kHz 79 Hz 1/26 200 k 120 kHz 77 Hz 1/34 150 k 160 kHz 78Hz
501
HD66717
1-line selection period 1 VCC V1 COM1 V4 V5 VCC V1 COM2 V4 V5 VCC V1 COMS2 V4 V5 VCC V1 COMS1 V4 V5 1 frame 1 frame 2 3 4 33 34 1 2 3 33 34
Figure 29 LCD Drive Output Waveform Example (4-line display with 1/34 multiplexing duty ratio)
502
HD66717
Power Supply for Liquid Crystal Display Drive
When External Power Supply and Internal Operational Amplifiers are Used To supply LCD drive voltage directly from the external power supply without using the internal booster, circuits should be connected as shown in Figure 30. Here, contrast can be adjusted through the CT bits of the contrast-control instruction. The HD66717 incorporates a voltage-follower operational amplifier for each of V1 to V5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. Thus, potential differences between VCC and V1 and between VEE and V5 must be 0.4V or greater. Note that the OPOFF pin must be grounded when using the operational amplifiers.
503
HD66717
OPOFF = GND HD66717 R V2 R R V3 R R R VR V EE VEE AGND LCD static driver ASEG1-ASEG10 ACOM + - + - V1 V2 LCD multiplexing driver COM1-COM32 COMS1-COMS2 V5
VCC
VCC
SEG1-SEG60
+ - + - + -
V3 V4
GND
a) 3- or 4-line display with 1/6 bias
OPOFF = GND VCC R V2 Short-circuited V3 R R R R R VR V EE VEE AGND LCD static driver ASEG1-ASEG10 ACOM + - + - + - + - + - HD66717 V1 V2 LCD multiplexing driver COM1-COM16 V4 V5 COMS1-COMS2
VCC
SEG1-SEG60
V3
GND
b) 1- or 2-line display with 1/4 bias
Note: 1. Potential differences between VCC and V1 and between V5 and VEE must be 0.4V or greater, particularly for low-duty drive such as 1-line display. 2. When the internal operational amplifiers cannot fully drive the LCD panel used, an appropriate capacitor must be inserted between each output of V1OUT to V5OUT and VCC to stabilize the operational amplifier output.
Figure 30 External Power Supply Circuit Example for LCD Drive Voltage Generation
504
HD66717
When an Internal Booster and Internal Operational Amplifiers are Used To supply LCD drive voltage using the internal booster, circuits should be connected as shown in Figure 31. Here, contrast can be adjusted through the CT bits of the contrast-control instruction. Temperature can be compensated either through the CT bits or by controlling the reference voltage for the booster (Vci pin) using a thermistor. Note that Vci is both a reference voltage and power supply for the booster; the reference voltage must therefore be adjusted using an emitter-follower or a similar element so that sufficient current can be supplied. In this case, Vci must be equal to or smaller than the VCC level. The HD66717 incorporates a voltage-follower operational amplifier for each of V1 to V5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. Thus, potential differences between VCC and V1 and between VEE and V5 must be 0.4V or greater. Note that the OPOFF pin must be grounded when using the operational amplifiers.
a) Double boosting OPOFF = GND VCC b) Triple boosting OPOF = GND VCC
VCC
HD66717
R R R + - + - + - + - + - V1 V2
VCC
HD66717
R R R + - + - + - + - + - V1 V2
V2 Short-circuited for 1-or 2-line display
V2 Short-circuited for 1-or 2-line display
V3
R R R VR
V3 V4 V5
V3
R R R VR
V3 V4 V5
VEE Vci C1 0.47 F to 1 F + C2 Booster 0.47 F to 1 F + GND V5OUT2 V5OUT3
VEE Vci C1 0.47 F C2 to 1 F + V5OUT2 0.47 F + to 1 F GND V5OUT3 + GND Booster
Note: 1. The reference voltage input (Vci) must be adjusted so that the output voltage after boosting will not exceed the absolute maximum rating of the liquid-crystal power supply voltage (15V). Particularly, Vci must be 5 V or less for triple boosting. 2. Vci is both a reference voltage and power supply for the booster; connect it to VCC directly or combine it with a transistor so that sufficient current can be obtained. 3. Vci must be smaller than VCC. 4. To operate the voltage-follower correctly, potential differences between VCC and V1 and between V5 and VEE must be 0.4V or greater, particularly for low-duty drive such as 1-line display. 5. Polarized capacitors must be connected correclty. 6. Circuits for temperature compensation should be designed based on the sample circuit shown in Figure 32.
Figure 31 Internal Power Supply Circuit Example for LCD Drive Voltage Generation
505
HD66717
HD66717 VCC VCC
Thermistor
Tr
Vci
GND
Figure 32 Temperature Compensation Circuit Example
506
HD66717
The HD66717's internal operational amplifiers have a reduced drive current to save current consumption; when the internal operational amplifiers cannot fully drive the LCD panel used, an appropriate capacitors must be inserted between each output of V1OUT to V5OUT and VCC to stabilize the operational amplifier output (Figure 33). Especially, the capacitors for V1OUT and V4OUT must be inserted when 1/26 duty or 1/34 duty drives.
OPOFF = GND 0.1 F to 0.5 F* VCC VCC +++++ V1OUT V2 V2OUT R
+ -
HD66717 R
+ -
VCC V1
V2
LCD multiplexing driver
SEG1-SEG60
R V3 V3OUT V4OUT R V5OUT VEE Vci C1 VR
+ -
R
+ -
V3 V4
COM1-COM32 COMS1-COMS2
R
+ -
V5
0.47 F to 1 F + C2 V5OUT2 + 0.47 F to 1 F GND + GND V5OUT3 Booster
0.47 F to 1 F
Note : The capacitors for V1OUT and V4OUT must be inserted when 1/26 duty or 1/34 duty drives.
Figure 33 Operational Amplifier Output Stabilization Circuit Example
507
HD66717
When an Internal Booster and External Bleeder-Resistors are Used When the internal operational amplifiers cannot fully drive the LCD panel used, V1 to V5 voltages can be supplied through external bleeder-resistors (Figure 34). Here, the OPOFF pin must be set to the VCC level to turn off the internal operational amplifiers. Since the internal contrast adjuster is disabled in this case, contrast must be adjusted externally. Double- and triple-boosters can be used as they are.
OPOFF = VCC VCC
R R 2R V3OUT R R VR V4OUT V5OUT VEE Vci C1 VCC V1OUT V2OUT
HD66717
+ - + -
VCC V1 V2
+ - + - + -
V3 V4 V5
0.47 F to 1 F
+ C2 Booster
V5OUT2 0.47 F + to 1 F GND V5OUT3
+ to 1 F
GND
0.47 F
Note: 1. Resistance of each external bleeder resistor should be 5 k to 15 k. 2. The bias current value for driving liquid-crystals can be varied by adjusting the resistance (2R) between the V2OUT and V3OUT pins. 3. The internal contrast-adjuster is disabled; contrast must be adjusted either by controlling the external variable resistor between VEE and V5OUT or Vci for the booster. 4. Vci is both a reference voltage and power supply for the booster; connect it to VCC directly or combine it with a transistor so that sufficient current can be obtained. 5. Vci must be smaller than VCC.
Figure 34 External Bleeder-Resistor Example for LCD Drive Voltage Generation Power Supply Circuit
508
HD66717
Contrast Adjuster
Multiplexing Drive System Contrast for an LCD controlled by the multiplexing drive method can be adjusted by varying the liquidcrystal drive voltage (potential difference between VCC and V5) through the CT bits of the contrast control instruction (electron volume function). See Figure 35 and Table 20. The value of a variable resistor (VR) can be adjusted within the range from 0.4R through 6.4R, where R is a reference resistance obtained by dividing the total resistance between VCC and V5. The HD66717 incorporates a voltage-follower operational amplifier for each of V1 to V5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. Thus, potential differences between VCC and V1 and between VEE and V5 must be 0.4V or greater. Note that the OPOFF pin must be grounded when using the operational amplifiers. * 1/6 bias (V2 and V3 pins left open) LCD drive voltage VLCD: 6R x (VCC - VEE)/(6R + VR) (VR = a value within the range from 0.4R to 6.4R) VLCD adjustable range: 0.484 x (VCC - VEE) VLCD 0.938 x (VCC - VEE) Potential difference between VCC and V1: R x (VCC - VEE)/(6R + VR) 0.4 (V) Potential difference between V5 and VEE: VR x (VCC - VEE)/(6R + VR) 0.4 (V) * 1/4 bias (V2 and V3 pins short-circuited) LCD drive voltage VLCD: 4R x (VCC - VEE)/(4R + VR) (VR = a value within the range from 0.4R to 6.4R) VLCD adjustable range: 0.385 x (VCC - VEE) VLCD 0.909 x (VCC - VEE) Potential difference between VCC and V1: R x (VCC - VEE)/(4R + VR) 0.4 (V) Potential difference between V5 and VEE: VR x (VCC - VEE)/(4R + VR) 0.4 (V) Static Drive System Contrast for a statically-driven LCD, that is, annunciator display, can be adjusted through the AGND pin. The annunciators are driven statically by the potential difference between VCC and AGND. The AGND pin level must be equal to or greater than the GND level.
509
HD66717
VCC R V2 R R V3 R R R VR CT
+ - + - + - + - + -
HD66717 VCC V1 V2
V3 V4 V5
VEE
Figure 35 Contrast Adjuster
Table 20
Contrast-Adjust Bits (CT) and Variable Resistor Values
CT Register
CT3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
CT2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
CT1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
CT0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Variable Resistor Value (VR) 6.4 R 6.0 R 5.6 R 5.2 R 4.8 R 4.4 R 4.0 R 3.6 R 3.2 R 2.8 R 2.4 R 2.0 R 1.6 R 1.2 R 0.8 R 0.4 R
510
HD66717
LCD Module Interface
Segment data output pins SEG1 to SEG60 can be connected either from left to right or right to left of an LCD panel according to the SFT pin level. When the SFT pin is grounded, SEG1 is connected to the far left of the panel, and when it is at the VCC level, SEG60 is connected to the far left. Either connection mode can be selected according to the LCD module layout and routing on a printed-circuit board. Figures 36 shows two examples.
511
HD66717
a) 12-character x 3-line display (SEG line above the panel : SFT = GND) SEG60 SEG59-2 SEG1 COMS1 SFT GND COM1 - COM8
HD66717
COM9 - COM16 COM17 - COM24 COMS2 ACOM
ON
MODE 2ndF Clock
DATE
TIME
KEY
ASEG1- ASEG10
b) 12-character x 4-line display (SEG line below the panel : SFT = VCC) ASEG1- ASEG10 VCC ACOM COMS1 SFT COM1 - COM8
ON
MODE 2ndF Clock
DATE
TIME
KEY
HD66717
COM9 - COM16 COM17 - COM24 COM25 - COM32 COMS2
SEG60 SEG59-2 SEG1
Figure 36 LCD Module Interface Examples
512
HD66717
Segment Display and Annunciator Display
The HD66717 provides both segment display, which is driven by the multiplexing method, and annunciator display, which is driven statically. Annunciator display is driven at a logic operating voltage (VCC - AGND) and is thus also available while the LCD drive power supply is turned off. Accordingly, annunciator display is suitable for displaying marks during system standby, when it is desirable to reduce current consumption. It is available in sleep mode, where internal multiplexing operations for character or segment display are halted. If an alternating signal is supplied to the EXM pin, it is also available in standby mode, where the internal R-C oscillator is halted. Here, AGND must be equal to or above the GND level. Note that annunciator display cannot share character display drivers SEG and COM but require special drivers ASEG and ACOM that require long routing. Tables 21 to 23 illustrates segment display and annunciator display. Table 21
Item Number of driven elements Blinking Segment drivers Common drivers LCD power supply Normal mode display Sleep mode display Standby mode display (without oscillation)
Comparison between Segment Display and Annunciator Display
Segment Display 20 each by COMS1 and COMS2 Impossible SEG1-SEG60 (shared with character display) COMS1, COMS2 VCC - V5 (LCD power supply necessary) Display possible together with character display by multiplexing drive Impossible (SEG and COM output VCC) Impossible (SEG and COM output VCC) Annunciator Display 10 Possible ASEG1-ASEG10 (independent of character display) ACOM VCC - AGND (LCD power supply unnecessary) Display possible by static drive Possible by static drive Possible by supplying alternating signal to the EXM pin
513
HD66717
Table 22 Correspondence between Segment Display SEGRAM Addresses (ASEG) and Driver Signals
Common Signal Bit 4 COMS1 COMS1 COMS1 COMS1 COMS2 COMS2 COMS2 COMS2 SEG1/21/41 SEG6/26/46 SEG11/31/51 SEG16/36/56 SEG1/21/41 SEG6/26/46 SEG11/31/51 SEG16/36/56 Segment Signals Bit 3 SEG2/22/42 SEG7/27/47 SEG12/32/52 SEG17/37/57 SEG2/22/42 SEG7/27/47 SEG12/32/52 SEG17/37/57 Bit 2 SEG3/23/43 SEG8/28/48 SEG13/33/53 SEG18/38/58 SEG3/23/43 SEG8/28/48 SEG13/33/53 SEG18/38/58 Bit 1 SEG4/24/44 SEG9/29/49 SEG14/34/54 SEG19/39/59 SEG4/24/44 SEG9/29/49 SEG14/34/54 SEG19/39/59 Bit 0 SEG5/25/45 SEG10/30/50 SEG15/35/55 SEG20/40/60 SEG5/25/45 SEG10/30/50 SEG15/35/55 SEG20/40/60
ASEG Address MSB 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 LSB 0 1 0 1 0 1 0 1
Table 23
Correspondence between Annunciator Display Addresses (AAN) and Driver Signals
AAN Address Common Signal ACOM ACOM ACOM Segment Signals Bits 7, 6 ASEG1 ASEG5 ASEG9 Bits 5, 4 ASEG2 ASEG6 ASEG10 Bits 3, 2 ASEG3 ASEG7 -- Bits 1, 0 ASEG4 ASEG8 --
MSB 0 0 0 0 0 0 0 0 1
LSB 0 1 0
Note: The annunciator is turned on when the corresponding even bit (bit 6, 4, 2, or 0) is 1, and the turned-on annunciator blinks when the corresponding odd bit (bit 7, 5, 3, or 1) is 1.
514
HD66717
Annunciator Drive Figure 37 shows annunciator drive output waveforms in two modes.
i) Normal mode and sleep mode
VCC level ACOM VCC level ASEG1 VCC level ASEG2 1 frame AGND level VCC level AGND level
VCC level
VCC level Display off
AGND level
Display on
ii) Standby mode (without oscillation) 1 frame VCC level EXM (Input) VCC level ACOM VCC level ASEG1 AGND level VCC level ASEG2 AGND level AGND level Display on AGND level VCC level Display off AGND level VCC level VCC level
Note: If annunciator display is unnecessary during standby mode, make sure to fix the EXM pin to the VCC or GND level and set the annunciator display ON bit (DA) to 0. This will prevent dark display and liquid-cell deterioration due to DC bias application on liquid crystal cells.
Figure 37 Annunciator Drive Output Waveforms
515
HD66717
Vertical Smooth Scroll
The HD66717 can scroll in the vertical direction in units of raster-rows. This function is achieved by writing character codes into the DDRAM area that is not being used for display. In other words, since the DDRAM corresponds to a 5-line x 12-character display, one of the lines can be used to achieve continuous smooth vertical scroll even in a 4-line display. Here, after the fifth line is displayed, the first line is displayed again. Specifically, this function is controlled by incrementing or decrementing the value in the scroll-start line bits (SL2 to SL0) and scroll-start raster-row bits (SN2 to SN0) by 1. For example, to smoothly scroll up, first set SN2 to SN0 to 000, and increment SL2 to SL0 by 1 from 000 to 111 to scroll seven raster-rows. Then increment SN2 to SN0 to 001, and again increment SL2 to SL0 by 1 from 000 to 111. To start displaying and scrolling from the first raster-row of the second line, update the first line of DDRAM data as desired during its non-display period. Figure 38 shows an example of vertical smooth scrolling and Figure 39 shows an example of setting instructions for vertically scrolling upward in a 4-line display (NL1 and NL0 = 11).
516
HD66717
Set initial data to all DDRAM addresses
1) Not scrolled * SN2-0 = 000 * SL2-0 = 000 9) 8 raster-row scrolled up * SN2-0 = 001 * SL2-0 = 000
Update the first line of DDRAM data
10) 9 raster-row scrolled up * SL2-0 = 001
2) 1 raster-row scrolled up * SL2-0 = 001
3) 2 raster-row scrolled up * SL2-0 = 010
11) 10 raster-row scrolled up * SL2-0 = 010
4) 3 raster-row scrolled up * SL2-0 = 011
12) 11 raster-row scrolled up * SL2-0 = 011
5) 4 raster-row scrolled up * SL2-0 = 100
13) 12 raster-row scrolled up * SL2-0 = 100
6) 5 raster-row scrolled up * SL2-0 = 101
14) 13 raster-row scrolled up * SL2-0 = 101
7) 6 raster-row scrolled up * SL2-0 = 110
15) 14 raster-row scrolled up * SL2-0 = 110
8) 7 raster-row scrolled up * SL2-0 = 111
16) 15 raster-row scrolled up * SL2-0 = 111
Figure 38 Example of Vertical Smooth Scrolling
517
HD66717
Set initial data to all DDRAM addresses
1) Not scrolled * SN2-0 = 000 * SL2-0 = 000 9) 8 raster-row scrolled up * SN2-0 = 001 * SL2-0 = 000
Update the first line of DDRAM data
10) 9 raster-row scrolled up * SL2-0 = 001
2) 1 raster-row scrolled up * SL2-0 = 001
3) 2 raster-row scrolled up * SL2-0 = 010
11) 10 raster-row scrolled up * SL2-0 = 010
4) 3 raster-row scrolled up * SL2-0 = 011
12) 11 raster-row scrolled up * SL2-0 = 011
5) 4 raster-row scrolled up * SL2-0 = 100 6) 5 raster-row scrolled up * SL2-0 = 101 7) 6 raster-row scrolled up * SL2-0 = 110
13) 12 raster-row scrolled up * SL2-0 = 100
14) 13 raster-row scrolled up * SL2-0 = 101 15) 14 raster-row scrolled up * SL2-0 = 110
8) 7 raster-row scrolled up * SL2-0 = 111
16) 15 raster-row scrolled up * SL2-0 = 111
Figure 39 Example of Setting Instructions for Vertical Smooth Scroll (4-line display (NL1 and NL0 = 11))
518
HD66717
Line-Cursor Display
The HD66717 can assign a cursor attribute to an entire line corresponding to the address counter value by setting the LC bit to 1 (Table 24). One of three line-cursor modes can be selected: a black-white inverting blink cursor (B/W = 1), an underline cursor (C = 1), and a blink cursor (B = 1). The blink cycle for a black-white inverting blink cursor and for a blink cursor is 32 frames. These line-cursors are suitable for highlighting an index and/or marker, and for indicating an item in a menu with a cursor or an underline. Figures 40 to 42 show three line-cursor examples. Table 24 Address Counter Value and Line-Cursor
Selected Line for Line-Cursor Entire 1st line (12 digits) Entire 2nd line (12 digits) Entire 3rd line (12 digits) Entire 4th line (12 digits) Entire 5th line (12 digits)
Address Counter Value (AC) 00H to 0BH 10H to 1BH 20H to 2BH 30H to 3BH 40H to 4BH
519
HD66717
Alternates every 32 frames
Figure 40 Example of Black-White Inverting Blink Cursor (LC = 1; B/W = 1)
520
HD66717
Figure 41 Example of Underline Cursor (LC = 1; C = 1)
521
HD66717
Alternates every 32 frames
Figure 42 Example of Blink Cursor (LC = 1; B = 1)
522
HD66717
Double-Height Display
The HD66717 can double the height of any desired line from the first to third lines. A line can be selected by the DL3 to DL1 bits as listed in Table 25. All the standard font characters stored in the CGROM and CGRAM can be doubled in height, providing an easy-to-see display. Note that there should be no space between lines for double-height display (Figure 43). Table 25
DL3 0 0 0 0 1 1 1 1 DL2 0 0 1 1 0 0 1 1
Double-Height Display Specifications
DL1 0 1 0 1 0 1 0 1 2-Line Display (NL1, NL0 = 01) 1st & 2nd lines: normal 1st line: double-height Disabled 1st line: double-height 1st & 2nd lines: normal 1st line: double-height Disabled 1st line: double-height 3-Line Display (NL1, NL0 = 10) 1st to 3rd lines: normal 1st line: double-height 2nd line: normal 2nd line: double-height 1st line: normal Disabled Disabled 1st line: double-height 2nd line: normal 2nd line: double-height 1st line: normal Disabled 4-Line Display (NL1, NL0 = 11) 1st to 4th lines: normal 1st line: double-height 2nd & 3rd lines: normal 2nd line: double-height 1st & 3rd lines: normal 1st & 2nd lines: double-height 3rd line: double-height 1st & 2nd lines: normal Disabled Disabled 1st & 2nd lines: double-height
523
HD66717
i) 3-line display example (DL1 = 0, DL2 = 1)
1st line: normal display
2nd line: double-height display
ii) 4-line display example (DL = 1, DL2 = 0, DL3 = 0)
1st line: double-height display
2nd line: normal display
3rd line: normal display
Figure 43 Double-Height Display Examples
524
HD66717
Partial-Display-Off Function
The HD66717 can program the number of display lines (NL1 and NL0 bits), divide the internal operating frequency by four (OSC bit), and adjust the display contrast (CT bit). Combining these functions, the HD66717 can turn off the second and/or subsequent lines, displaying only the characters in the first line to reduce internal current consumption (partial-display-off function). This function is suitable for calendar or time display, which needs to be continuous during system standby with minimal current consumption. Here, the second to fourth non-displayed lines are constantly driven by the deselection level voltage, thus turning off the LCD for the lines. Note that internal clock frequency is reduced to a quarter, quadrupling execution time of each instruction; MPU data transfer rate must be appropriately adjusted. Table 26 lists partial-display-off function specifications and Figure 44 shows a sample display using the partial-display-off function. Table 26 Partial Display Off Function
Normal 4-Line Display 1st to 4th lines displayed Possible Possible 160 kHz 160 kHz (OSC = 0) 2.7 kHz (1/34 duty ratio) 78 Hz Partially-Off Display Only 1st line displayed Possible Possible 160 kHz 40 kHz (OSC = 1) 0.7 kHz (1/10 duty ratio) 66 Hz
Function Item Character display Segment display Annunciator display R-C oscillation frequency Internal operating frequency LCD single-line drive frequency Frame frequency
Note: Select an optimum LCD drive voltage (between VCC and V5) for the multiplexing duty ratio used, using a reference voltage input pin (Vci) for the booster or the contrast-adjust bits (CT) .
525
HD66717
Display available (driven with selection level) Display available (driven with selection level)
Display unavailable (driven with deselection level)
Figure 44 Example of Partially-Off Display (date and time indicated)
526
HD66717
Sleep Mode
Setting the sleep mode bit (SLP) to 1 puts the HD66717 in sleep mode, where the device halts all the internal display operations except for annunciator display operations, thus reducing current consumption. Specifically, character and segment displays, which are controlled by the multiplexing drive method, are completely halted. Here, all the SEG (SEG1 to SEG60) and COM (COM1 to COM34) pins output the VCC level, resulting in no display. If the AMP bit is set to 0 in sleep mode, the LCD drive power supply can be turned off, reducing the total current consumption of the LCD module. Annunciators can be normally displayed in sleep mode. Since they are driven at logic operating power supply voltage (VCC - AGND), they are available even if the LCD power supply is turned off (AMP = 0). This function allows time and alarm marker indication during system standby with reduced current consumption. During sleep mode, no instructions can be accepted for character/segment display and neither DDRAM, CGRAM, nor SEGRAM can be accessed. Table 27 compares the functions of sleep mode and standby mode. Table 27 Comparison of Sleep Mode and Standby Mode
Sleep Mode (SLP = 1) Turned off Turned off Can be turned on Normally operates Standby Mode (STB = 1) Turned off Turned off Can be turned on when an alternating signal is supplied to the EXM pin Halted
Function Item Character display Segment display Annunciator display R-C oscillation
527
HD66717
Standby Mode
Setting the standby mode bit (STB) to 1 puts the HD66717 in standby mode, where the device stops completely, halting all internal operations including the R-C oscillator, thus further reducing current consumption compared to that in sleep mode. Specifically, character and segment displays, which are controlled by the multiplexing drive method, are completely halted. Here, all the SEG (SEG1 to SEG60) and COM (COM4 to COM34) pins output the VCC level, resulting in no display. If the AMP bit is set to 0 in standby mode, the LCD drive power supply can be turned off. Annunciators can be displayed simply by supplying an approximately 40-Hz alternating signal for the LCD drive signals to the EXM pin externally. If annunciator display is unnecessary during standby mode, the EXM pin must be fixed to the VCC or GND level and the annunciator display-on bit (DA) set to 0. During standby mode, no instructions can be accepted other than those for annunciator display and the start-oscillator instruction. To cancel standby mode, issue the start-oscillator instruction to stabilize R-C oscillation before setting the STB bit to 0. Figure 45 shows the procedure for setting and cancelling standby mode.
Turn off the LCD power supply: AMP = 0 Set standby mode: STB = 1 Supply an external alternating signal to the EXM pin Only for annunciator display; set the DA bit to 0 when annunciator display is not necessary.
Standby mode (only annunciator display is available)
Issue the start-oscillator instruction Wait at least 10 ms Cancel standby mode: STB = 0 Turn on the LCD drive power supply: AMP = 1
Figure 45 Procedure for Setting and Cancelling Standby Mode
528
HD66717
Absolute Maximum Ratings*
Item Power supply voltage (1) Power supply voltage (2) Input voltage Operating temperature Storage temperature Note: * Symbol VCC VCC-VEE Vt Topr Tstg Unit V V V C C Value -0.3 to +7.0 -0.3 to +15.0 -0.3 to VCC + 0.3 -20 to +75 -40 to +125 4 Notes 1 1, 2 1
If the LSI is used above these absolute maximum ratings, it may become permanently damaged. Using the LSI within the following electrical characteristic limits is strongly recommended for normal operation. If these electrical characteristic conditions are also exceeded, the LSI will malfunction and cause poor reliability.
529
HD66717
DC Characteristics (VCC = 2.4V to 5.5V, Ta = -20 to +75C*3)
Item Input high voltage Input low voltage Symbol VIH VIL Min 0.7VCC -0.3 -0.3 Output high voltage (1) (DB0-DB7 pins) VOH1 Typ -- -- -- Max VCC 0.6 -- 0.2VCC 0.2VCC 0.4 20 30 1 120 60 Unit V VCC = 2.4 to 3.0V VCC = 3.0 to 5.5V IOH = -0.1 mA IOL = 0.1 mA VCC = 2.4 to 4.5V IOL = 0.4 mA VCC = 4.5 to 5.5V IOL = 1.0 mA Id = 0.05 mA (COM) VLCD = 4V Id = 0.05 mA (SEG) VLCD = 4V VIN = 0 to VCC VCC = 3V Vin = 0V Rf oscillation, 10, 11 external clock, VCC = 3V, fOSC = 160 kHz, 1/34 duty Rf oscillation, 10, 11 external clock, VCC = 3V, fOSC = 160 kHz No Rf oscillation, VCC = 3V, Ta = 25C VCC-VEE = 8V, fOSC = 160 kHz VREF-VREFM: shortcircuited V2-V3 short-circuited V2-V3 open 12 12 10, 11 8 8 9 7 Test Condition Notes* 6 6
0.15VCC V V V V V V k k A A A
0.75VCC -- -- -- -- -- -- -- 2 2 -- 50 30
Output low voltage (1) VOL1 (DB0-DB7 pins) Output low voltage (2) VOL2 (SDA pin)
Driver ON resistance (COM pins) Driver ON resistance (SEG pins) I/O leakage current Pull-up MOS current (RESET* pin) Current consumption during normal operation (VCC-GND) Current consumption during sleep mode (VCC-GND) Current consumption during standby mode (VCC-GND) LCD power supply current (VCC-VEE)
RCOM RSEG ILI -Ip IOP
-- -- -1 10 --
ISL
--
25
--
A
IST
--
0.1
5
A
IEE
--
25
60
A
LCD voltage with 1/4 bias (VCC-VEE) LCD voltage with 1/6 bias (VCC-VEE) Note: *
VLCD1 VLCD2
3.0 3.0
-- --
13.0 13.0
V V
Refer to the Electrical Characteristics Notes section following these tables.
530
HD66717
Booster Characteristics
Item Output voltage (V5OUT2 pin) Output voltage (V5OUT3 pin) Input voltage Note: * Symbol VUP2 Min 8.0 Typ 8.8 Max -- Unit V Test Condition Notes*
VCC = Vci = 4.5V, 15 I0 = 0.1 mA, C = 1 F, fOSC = 160 kHz, Ta = 25C VCC = Vci = 2.7V, 15 I0 = 0.1 mA, C = 1 F, fOSC = 160 kHz, Ta = 25C Vci VCC 15
VUP3
7.0
7.9
--
V
VCi
1.0
--
5.0
V
Refer to the Electrical Characteristics Notes section following these tables.
531
HD66717
AC Characteristics (VCC = 2.4V to 5.5V, T = -20 to +75C*3)
a
Clock Characteristics (VCC = 2.4V to 5.5V)
Item External External clock frequency clock External clock duty ratio operation External clock rise time External clock fall time Symbol Min fcp Duty trcp tfcp 20 45 -- -- 120 Typ 160 50 -- -- 160 Max 350 55 0.2 0.2 200 Unit kHz % s s kHz Rf = 150 k, VCC = 3V 14 Test Condition Notes* 13
Rf Clock oscillation frequency fOSC oscillation Note: *
Refer to the Electrical Characteristics Notes section following these tables.
Read & Write Bus Interface Timing Characteristics with Read Operation (VCC = 2.4V to 4.5V)
Item Enable cycle time Enable pulse width (high level) Enable rise/fall time Address set-up time (RS, R/W to E) Address hold time Data set-up time Data hold time Read data delay time Read data hold time Symbol Min tcycE PWEH tEr, tEf tAS tAH tDSW tH tDDR tDHR 1000 450 -- 60 20 195 30 -- 5 Typ -- -- -- -- -- -- -- -- -- Max -- -- 25 -- -- -- -- 400 -- ns Figure 53 Unit ns Test Condition Figures 52 and 53
Read & Write Bus Interface Timing Characteristics with Read Operation (VCC = 4.5V to 5.5V)
Item Enable cycle time Enable pulse width (high level) Enable rise/fall time Address set-up time (RS, R/W to E) Address hold time Data set-up time Data hold time Read data delay time Read data hold time Symbol Min tCYCE PWEH tEr, tEf tAS tAH tDSW tH tDDR tDHR 500 230 -- 40 30 80 30 -- 5 Typ -- -- -- -- -- -- -- -- -- Max -- -- 20 -- -- -- -- 200 -- ns Figure 53 Unit ns Test Condition Figures 52 and 53
532
HD66717
Write Bus Interface Timing Characteristics without Read Operation (VCC = 2.4V to 5.5V)
Item Enable cycle time Enable pulse width ("High" level) Enable rise/fall time Address set-up time (RS, R/W to E) Address hold time Data set-up time Data hold time Symbol Min tCYCE VCC = 2.4 to 3.0V PWEH VCC = 3.0 to 5.5V PWEH tEr, tEf tAS tAH tDSW tH 500 200 150 -- 60 20 140 30 Typ -- -- -- -- -- -- -- -- Max -- -- -- 20 -- -- -- -- Unit ns Test Condition Figure 52
Clock-Synchronized Serial Interface Operation (VCC = 2.4V to 5.5V)
Item Serial clock cycle time Serial clock high-level width Serial clock low-level width Serial clock rise/fall time Chip select set-up time Chip select hold time Serial input data set-up time Serial input data hold time Symbol Min tSCYC tSCH tSCL tSCr, tSCf tCSU tCH tSISU tSIH 1 400 400 -- 60 200 200 200 Typ -- -- -- -- -- -- -- -- Max 20 -- -- 50 -- -- -- -- Unit s ns Test Condition Figure 54
I C bus Interface Operation (VCC = 2.4V to 4.5V)
Item SCL clock cycle time SCL clock high-level width SCL clock low-level width SCL/SDA rise/fall time Bus free time Start hold time Retransmit start set-up time Stop set-up time SDA data set-up time SDA data hold time Symbol Min tSCL tSCLH tSCLL tSr, tSf tBUF tSTAH tSTAS tSTOS tSDAS tSDAH 2 500 1000 -- 100 500 500 500 140 0 Typ -- -- -- -- -- -- -- -- -- -- Max 20 -- -- 300 -- -- -- -- -- -- Unit s ns Test Condition Figure 55
2
533
HD66717
I2C bus Interface Operation (VCC = 4.5V to 5.5V)
Item SCL clock cycle time SCL clock high-level width SCL clock low-level width SCL/SDA rise/fall time Bus free time Start hold time Retransmit start set-up time Stop set-up time SDA data set-up time SDA data hold time Symbol tSCL tSCLH tSCLL tSr, tSf tBUF tSTAH tSTAS tSTOS tSDAS tSDAH Min 2 500 1000 -- 100 500 500 500 100 0 Typ -- -- -- -- -- -- -- -- -- -- Max 20 -- -- 300 -- -- -- -- -- -- Unit s ns Test Condition Figure 55
Reset Timing (VCC = 2.4 V to 5.5 V)
Item Reset low-level width Symbol tRES Min 10 Typ -- Max -- Unit ms Test Condition Figure 56
534
HD66717
Electrical Characteristics Notes
1. All voltage values are referred to GND = 0V. If the LSI is used above the absolute maximum ratings, it may become permanently damaged. Using the LSI within the given electrical characteristic is strongly recommended to ensure normal operation. If these electrical characteristic are exceeded, the LSI may malfunction or exhibit poor reliability. 2. VCC V1 V2 V3 V4 V5 > VEE must be maintained. 3. For die products, specified up to 75C. 4. For die products, specified by the common die shipment specification. 5. The following four circuits are I/O pin configurations except for liquid crystal display output (Figure 46).
Pins: E/SCL, RS/CS*, OSC1, IM1/0, SFT, TEST OPOFF VCC PMOS (pull-up MOS) Pins: RESET* VCC PMOS PMOS VCC (pull-down MOS) NMOS ACK GND GND GND GND Pins: RW/SDA VCC PMOS
NMOS
NMOS
NMOS
Pins: DB7-DB0/ID0 VCC (pull-up MOS) PMOS PMOS Input enable NMOS NMOS GND PMOS VCC (Tri-state output circuit) Output enable Output data VCC (Input circuit) PMOS Input enable
NMOS GND
Figure 46 I/O Pin Configurations
535
HD66717
6. The TEST pin must be grounded and the ID5 to ID0, IM1, IM0, SFT, EXM, and OPOFF pins must be grounded or connected to VCC. 7. Applies to the ACK bit for I2C bus interface. 8. Applies to resistor values (RCOM) between power supply pins V CC, V1OUT, V4OUT, V5OUT and common signal pins (COM1 to COM32, COMS1, and COMS2), and resistor values (RSEG) between power supply pins VCC, V2OUT, V3OUT, V5OUT and segment signal pins (SEG1 to SEG60). 9. This excludes the current flowing through pull-up MOSs and output drive MOSs. 10. This excludes the current flowing through the input/output units. The input level must be fixed high or low because through current increases if the CMOS input is left floating. 11. The following shows the relationship between the operation frequency (fOSC) and current consumption (ICC) (Figure 47).
VCC = 3V
40 30 20 10 0 Standby (typ.) 0 50 100 150 200 250 1/26 duty 1/18 duty 1/10 duty 1/34 duty Display on (typ.) Sleep (typ.) 80 60 40 20 0
ICC (A)
IEE (A)
VCC = 3V VREF=VREFP Short-circuited VREF left disconnected VREF=VREFP=VRERM Short-circuited
VREF-VREFM Short-circuited
3
4
5
6
7
8
9
10
11
CR oscillator frequency
Liquid crystal drive voltage : VLCD (V)
Figure 47 Relationship between the Operation Frequency and Current Consumption 12. Each COM and SEG output voltage is within 0.15V of the LCD voltage (VCC, V1, V2, V3, V4, V5) when there is no load. 13. Applies to the external clock input (Figure 48).
Th Oscillator Open OSC1 OSC2 0.7VCC 0.5VCC 0.3VCC trcp t fcp Tl Th X 100% Th+Tl
Duty =
Figure 48 External Clock Supply
536
HD66717
14. Applies to the internal oscillator operations using oscillation resistor Rf (Figure 49).
OSC1
Rf
OSC2 Referential data
200 160 150
Since the oscillation frequency varies depending on the OSC1 and OSC2 pin capacitance, the wiring length to these pins should be minimized.
fOSC (kHz)
100
VCC=5V (typ.) VCC=3V (typ.)
50
0 150 100 200
300
400
500
600
700
800
Rf (k)
Figure 49 Internal Oscillation 15. Booster characteristics test circuits are shown in Figure 50.
( Double boosting ) ( Triple boosting )
VCC Vci C1 C2 V5OUT2 + V5OUT3 VEE GND + 1 F 1 F
VCC
Vci C1 C2 1 F + 1 F 1 F
V5OUT2 + V5OUT3 + GND VEE
Figure 50 Booster
537
HD66717
Referential data
VUP2 = VCC - V5OUT2
VUP3 = VCC - V5OUT3
(i) Relationship between the obtained voltage and input voltage Double boosting 11 10 9 VUP2(V) VUP3(V) 8 7 6 5 4 2.0 3.0 4.0 Vci (V) Vci = VCC, fcp = 160kHz, Ta = 25C 5.0 typ. 15 14 13 12 11 10 9 8 7 6 Triple boosting typ.
2.0
3.0
4.0 Vci (V)
5.0
Vci = VCC, fcp = 160kHz, Ta = 25C
(ii) Relationship between the obtained voltage and temperature Double boosting 9.5 9.0 VUP2(V) 8.5 8.0 7.5 -60 8.5 typ. VUP3(V) 8.0 7.5 7.0 6.5 -60 Triple boosting
typ.
-20
0 20 Ta ( C )
60
100
-20 0 20 Ta ( C )
60
100
Vci = VCC = 4.5V, Rf = 180k, IO = 0.1mA
Vci = VCC = 2.7V, Rf = 150k, IO = 0.1mA
(iii) Relationship between the obtained voltage and capacitance Double boosting
9.0 8.5
VUP2 (V)
Triple boosting
typ.
8.0
VUP3 (V)
typ.
7.5 7.0 6.5
8.0 7.5 7.0 0.5 1.0
C (F) Vci = VCC = 4.5V, Rf = 180k, IO = 0.1mA
1.5
6.0 0.5
1.0
C (F)
1.5
Vci = VCC = 2.7V, Rf = 150k, IO = 0.1mA
Figure 50 Booster (cont)
538
HD66717
(iv) Relationship between the obtained voltage and the load current. Double boosting 9.0 8.5 VUP2 (V) 8.0 VUP3 (V) 7.5 7.0 6.5 6.0 0.0 0.5 1.0 IO (mA) Vci = VCC = 4.5V, Rf = 180 k Ta = 25C 1.5 2.0 typ. 8.0 7.0 6.0 5.0 4.0 3.0 2.0 0.0 0.5 1.0 IO (mA) Vci = VCC = 2.7V, Rf = 150 k Ta = 25C 1.5 2.0 typ. Triple boosting
Figure 50 Booster (cont)
Load Circuits
AC Characteristics Test Load Circuits
Data bus : SDA Test Point
50 pF
Figure 51 Load Circuit
539
HD66717
Timing Characteristics
RS
V IH V IL t AS t AH
V IH V IL
R/W
V IL PWEH V IH V IH V IL t Er t DSW V IH V IL t Ef tH V IH V IL t AH
V IL
E
V IL
V IL
DB0 - DB7
Valid data t CYCE
Figure 52 Bus Write Operation
RS
V IH V IL t AS t AH
V IH V IL
R/W
V IH PWEH
V IH t AH
E
V IL
V IH t Er t DDR
V IH t Ef
V IL
V IL
t DHR V OH1 V OL1 V OH1 V OL1
DB0 - DB7
Valid data t CYCE
Figure 53 Bus Read Operation
540
HD66717
Start : S End : P
CS*
VIL t SCYC t CSU VIH tscr t SCH VIH VIH VIL t SISU VIH VIL t SIH VIH Valid data VIL Valid data VIL tscf t CWL t CH VIH
VIL
SCL
SDA VIL
Figure 54 Clock-Synchronized Serial Interface Timing
Stop : P Start :S Restart : Sr Stop : P
SDA
VIH
VIH VIL t BUP t STAH VIH
VIH VIL t SDAH t SCL t SCLH VIH VIL t sr t STAS
VIH
VIH VIL t SDAS t STOPS VIL
VIH VIL
VIH
SCL t sf
VIL t SCLL
Figure 55 I C Bus Interface Timing
2
541
HD66717
t RES
RESET*
VIL
VIL
Figure 56 Reset Timing
542


▲Up To Search▲   

 
Price & Availability of HD66717

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X